XEStore.ISfcHasConnection.ConnectionContext Property

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 supports the use of explicit interface implementations, but not the declarations of new ones.

Property Value

Type: Microsoft.SqlServer.Management.Sdk.Sfc.SfcConnectionContext
Returns the SfcConnectionContext, or null.

Implements

ISfcHasConnection.ConnectionContext

Remarks

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.

See Also

Reference

XEStore Class

Microsoft.SqlServer.Management.XEvent Namespace