Partager via


Propriété ServerGroup.ServerType

Gets the Guid object value that specifies the type of server associated with the server group.

Espace de noms :  Microsoft.SqlServer.Management.Smo.RegisteredServers
Assembly :  Microsoft.SqlServer.SmoExtended (en Microsoft.SqlServer.SmoExtended.dll)

Syntaxe

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

Valeur de propriété

Type : System.Guid
A Guid system object value that specifies the type of server associated with the server group.

Voir aussi

Référence

ServerGroup Classe

Espace de noms Microsoft.SqlServer.Management.Smo.RegisteredServers

Autres ressources

Gestion des serveurs inscrits

sp_ActiveDirectory_SCP (Transact-SQL)