Server.ISfcHasConnection.ConnectionContext 属性

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

命名空间:  Microsoft.SqlServer.Management.Smo
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
Private ReadOnly Property ConnectionContext As SfcConnectionContext 
    Implements ISfcHasConnection.ConnectionContext 
    Get
用法
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 支持使用显式接口实现,但不支持声明新显式接口实现。

属性值

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

实现

ISfcHasConnection.ConnectionContext

请参阅

参考

Server 类

Microsoft.SqlServer.Management.Smo 命名空间