Partager via


Propriété ServerType

Gets or the kind of server that is associated with the registered server.

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

Syntaxe

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

Valeur de propriété

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

Notes

Cet espace de noms, cette classe ou ce membre est pris en charge uniquement par la version 2.0 de Microsoft .NET Framework.