Aracılığıyla paylaş


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

'Bildirim
Private ReadOnly Property ConnectionContext As SfcConnectionContext
    Implements ISfcHasConnection.ConnectionContext
    Get
'Kullanım
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

See Also

Reference

Server Class

Microsoft.SqlServer.Management.Smo Namespace