Właściwość ConnectionInfoBase.ServerType
Pobiera lub ustawia typ połączenia serwera.
Przestrzeń nazw: Microsoft.SqlServer.Management.Common
Zestaw: Microsoft.SqlServer.ConnectionInfo (w Microsoft.SqlServer.ConnectionInfo.dll)
Składnia
'Deklaracja
Public ReadOnly Property ServerType As ConnectionType
Get
'Użycie
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
Wartość właściwości
Typ: Microsoft.SqlServer.Management.Common.ConnectionType
A ConnectionType wartość obiektu systemu, który określa typ połączenia.
Zobacz także