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.