Share via


ServerGroup.ServerType Property

Gets or the type of server that is associated with the server group.

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

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.None)> _
Public Property ServerType As ServerType
    Get
    Friend Set
'Usage
Dim instance As ServerGroup
Dim value As ServerType

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

Property Value

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

Remarks

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