Partager via


Propriété Server.ISfcHasConnection.ConnectionContext

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

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
Private ReadOnly Property ConnectionContext As SfcConnectionContext 
    Implements ISfcHasConnection.ConnectionContext 
    Get
'Utilisation
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 prend en charge l'utilisation d'implémentations d'interface explicites, mais pas la déclaration de nouvelles implémentations d'interface.

Valeur de propriété

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

Implémente

ISfcHasConnection.ConnectionContext

Voir aussi

Référence

Server Classe

Espace de noms Microsoft.SqlServer.Management.Smo