Sdílet prostřednictvím


RegisteredServersStore.ISfcHasConnection.ConnectionContext Property

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

Namespace:  Microsoft.SqlServer.Management.RegisteredServers
Assembly:  Microsoft.SqlServer.Management.RegisteredServers (in Microsoft.SqlServer.Management.RegisteredServers.dll)

Syntax

'Declaration
Private ReadOnly Property ConnectionContext As SfcConnectionContext
    Implements ISfcHasConnection.ConnectionContext
    Get
'Usage
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 supports the use of explicit interface implementations, but not the declarations of new ones.

Property Value

Type: Microsoft.SqlServer.Management.Sdk.Sfc.SfcConnectionContext
A SfcConnectionContext object with the connection information.

Implements

ISfcHasConnection.ConnectionContext

Remarks

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.