Partager via


ServerAliases propriété

Represents a collection of ServerAlias objects. Each ServerAlias object represents a server alias defined on the WMI installation.

Espace de noms :  Microsoft.SqlServer.Management.Smo.Wmi
Assembly :  Microsoft.SqlServer.SqlWmiManagement (dans Microsoft.SqlServer.SqlWmiManagement.dll)

Syntaxe

'Déclaration
Public ReadOnly Property ServerAliases As ServerAliasCollection
    Get
'Utilisation
Dim instance As ManagedComputer
Dim value As ServerAliasCollection

value = instance.ServerAliases
public ServerAliasCollection ServerAliases { get; }
public:
property ServerAliasCollection^ ServerAliases {
    ServerAliasCollection^ get ();
}
member ServerAliases : ServerAliasCollection
function get ServerAliases () : ServerAliasCollection

Valeur de la propriété

Type : Microsoft.SqlServer.Management.Smo.Wmi. . :: . .ServerAliasCollection
A ServerAliasCollection object that represents all the server aliases defined on the WMI installation.