Share via


Propriété ServerConnection.ConnectionType

Gets the type of connection to use in the server.

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

Syntaxe

'Déclaration
Public ReadOnly Property ConnectionType As ServerType 
    Get
'Utilisation
Dim instance As ServerConnection 
Dim value As ServerType 

value = instance.ConnectionType
public ServerType ConnectionType { get; }
public:
property ServerType ConnectionType {
    ServerType get ();
}
member ConnectionType : ServerType
function get ConnectionType () : ServerType

Valeur de propriété

Type : Microsoft.SqlServer.Management.Common.ServerType
The type of connection to use.

Voir aussi

Référence

ServerConnection Classe

Espace de noms Microsoft.SqlServer.Management.Common