SqlStudioConstants.ContextInstance<TInstance> Method ()

 

Applies To: SQL Server 2016 Preview

Retrieves the Instance object for the specified context.

Namespace:   Microsoft.SqlServer.Management
Assembly:  Microsoft.SqlServer.Management.SDK.SqlStudio (in Microsoft.SqlServer.Management.SDK.SqlStudio.dll)

Syntax

public static string ContextInstance<TInstance>()
public:
generic<typename TInstance>
static String^ ContextInstance()
static member ContextInstance<'TInstance> : unit -> string
Public Shared Function ContextInstance(Of TInstance) As String

Return Value

Type: System.String

The Instance object for the specified context.

See Also

SqlStudioConstants Class
Microsoft.SqlServer.Management Namespace

Return to top