Partager via


Propriété ServerType

Gets or sets the server connection type.

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

Syntaxe

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

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

Valeur de propriété

Type : Microsoft.SqlServer.Management.Common. . :: . .ConnectionType
A ConnectionType system object value that specifies the type of connection.