Udostępnij przez


Właściwość ServerGroup.ServerType

Pobiera Guid wartość obiektu, który określa typ serwera skojarzona grupa serwera.

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

Składnia

'Deklaracja
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.SqlAzureDatabase)> _
Public ReadOnly Property ServerType As Guid
    Get
'Użycie
Dim instance As ServerGroup
Dim value As Guid

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

Wartość właściwości

Typ: System.Guid
A Guid wartość obiektu systemu, który określa typ serwera skojarzona grupa serwera.