Freigeben über


Server.ISfcHasConnection.ConnectionContext-Eigenschaft

Gets the context for the connection represented by the current Server object.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
Private ReadOnly Property ConnectionContext As SfcConnectionContext 
    Implements ISfcHasConnection.ConnectionContext 
    Get
'Usage
Dim instance As Server 
Dim value As SfcConnectionContext 

value = CType(instance, ISfcHasConnection).ConnectionContext
SfcConnectionContext ISfcHasConnection.ConnectionContext { get; }
private:
virtual property SfcConnectionContext^ ConnectionContext {
    SfcConnectionContext^ get () sealed = ISfcHasConnection::ConnectionContext::get;
}
private abstract ConnectionContext : SfcConnectionContext 
private override ConnectionContext : SfcConnectionContext
JScript unterstützt die Verwendung expliziter Schnittstellenimplementierungen, aber nicht die Deklaration neuer Schnittstellenimplementierungen.

Eigenschaftswert

Typ: Microsoft.SqlServer.Management.Sdk.Sfc.SfcConnectionContext
A String value that specifies the context for the connection represented by the current Server object.

Implementiert

ISfcHasConnection.ConnectionContext

Siehe auch

Verweis

Server Klasse

Microsoft.SqlServer.Management.Smo-Namespace