Freigeben über


RegisteredServer.ServerType-Eigenschaft

Gets or the kind of server that is associated with the registered server.

Namespace:  Microsoft.SqlServer.Management.RegisteredServers
Assembly:  Microsoft.SqlServer.Management.RegisteredServers (in Microsoft.SqlServer.Management.RegisteredServers.dll)

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.None)> _
Public ReadOnly Property ServerType As ServerType 
    Get
'Usage
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

Eigenschaftswert

Typ: Microsoft.SqlServer.Management.Common.ServerType
A ServerType value that specifies the kind of server that is associated with the registered server.

Hinweise

Der Namespace, die Klasse oder das Element wird nur in der Version 2.0 von Microsoft .NET Framework unterstützt.

Siehe auch

Verweis

RegisteredServer Klasse

Microsoft.SqlServer.Management.RegisteredServers-Namespace