Freigeben über


XEStore.ISfcHasConnection.ConnectionContext-Eigenschaft

Gets the SfcConnectionContext.

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

Syntax

'Declaration
Private ReadOnly Property ConnectionContext As SfcConnectionContext 
    Implements ISfcHasConnection.ConnectionContext 
    Get
'Usage
Dim instance As XEStore 
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
Returns the SfcConnectionContext, or null.

Implementiert

ISfcHasConnection.ConnectionContext

Hinweise

If this property returns null, offline mode is used.

The Microsoft.SqlServer.Management.Sdk.Sfc.dll contains the assemblies for SQL Foundation Classes. The library is found in the directory: %ProgramFiles%\Microsoft SQL Server\100\SDK\Assemblies.

Siehe auch

Verweis

XEStore Klasse

Microsoft.SqlServer.Management.XEvent-Namespace