Share via


Server.ISfcHasConnection.ConnectionContext Property

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

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

Syntax

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

Property Value

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

Implements

ISfcHasConnection.ConnectionContext