共用方式為


ISfcHasConnection.ConnectionContext 屬性

Gets the details of a connection to an instance of the database engine.

命名空間:  Microsoft.SqlServer.Management.RegisteredServers
組件:  Microsoft.SqlServer.Management.RegisteredServers (在 Microsoft.SqlServer.Management.RegisteredServers.dll 中)

語法

'宣告
Private ReadOnly Property ConnectionContext As SfcConnectionContext
    Implements ISfcHasConnection.ConnectionContext
    Get
'用途
Dim instance As RegisteredServersStore
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 SfcConnectionContext object with the connection information.

實作

ISfcHasConnection. . :: . .ConnectionContext

備註

只有 Microsoft .NET Framework 2.0 版支援此命名空間、類別或成員。