Sdílet prostřednictvím


RegisteredServer.ServerType Property

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

Property Value

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

Remarks

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.