Gets the SfcConnectionContext.
命名空间: Microsoft.SqlServer.Management.XEvent
程序集: Microsoft.SqlServer.Management.XEvent(在 Microsoft.SqlServer.Management.XEvent.dll 中)
语法
声明
Private ReadOnly Property ConnectionContext As SfcConnectionContext
Implements ISfcHasConnection.ConnectionContext
Get
用法
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 支持使用显式接口实现,但不支持声明新显式接口实现。
属性值
类型:Microsoft.SqlServer.Management.Sdk.Sfc.SfcConnectionContext
Returns the SfcConnectionContext, or null.
实现
ISfcHasConnection.ConnectionContext
注释
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.