Udostępnij za pośrednictwem


Właściwość RegisteredServer.ServerType

Pobiera lub rodzaj serwera, który jest skojarzony z zarejestrowanym serwerem.

Przestrzeń nazw:  Microsoft.SqlServer.Management.RegisteredServers
Zestaw:  Microsoft.SqlServer.Management.RegisteredServers (w Microsoft.SqlServer.Management.RegisteredServers.dll)

Składnia

'Deklaracja
<SfcPropertyAttribute(SfcPropertyFlags.None)> _
Public ReadOnly Property ServerType As ServerType
    Get
'Użycie
Dim instance As RegisteredServer
Dim value As ServerType

value = instance.ServerType
[SfcPropertyAttribute(SfcPropertyFlags.None)]
public ServerType ServerType { get; }
[SfcPropertyAttribute(SfcPropertyFlags::None)]
public:
property ServerType ServerType {
    ServerType get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.None)>]
member ServerType : ServerType
function get ServerType () : ServerType

Wartość właściwości

Typ: Microsoft.SqlServer.Management.Common.ServerType
A ServerType wartość określająca rodzaj serwera, skojarzony z zarejestrowanych serwera.

Uwagi

Ten obszar nazw, klasa lub element członkowski jest obsługiwany tylko w wersji 2.0 programu Microsoft .NET Framework.