Condividi tramite


Proprietà ServerType

Ottiene il valore dell'oggetto Guid che specifica il tipo di server associato al gruppo di server.

Spazio dei nomi  Microsoft.SqlServer.Management.Smo.RegisteredServers
Assembly:  Microsoft.SqlServer.SmoExtended (in Microsoft.SqlServer.SmoExtended.dll)

Sintassi

'Dichiarazione
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.SqlAzureDatabase)> _
Public ReadOnly Property ServerType As Guid
    Get
'Utilizzo
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

Valore proprietà

Tipo: System. . :: . .Guid
Valore dell'oggetto di sistema Guid che specifica il tipo di server associato al gruppo di server.