Share via


Propriedade do RDL ManagedComputer.ServerAliases

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

Namespace:  Microsoft.SqlServer.Management.Smo.Wmi
Assembly:  Microsoft.SqlServer.SqlWmiManagement (em Microsoft.SqlServer.SqlWmiManagement.dll)

Sintaxe

'Declaração
Public ReadOnly Property ServerAliases As ServerAliasCollection 
    Get
'Uso
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

Valor da propriedade

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

Exemplos

Gerenciando serviços e configurações de rede através do provedor do WMI

Consulte também

Referência

ManagedComputer Classe

Namespace Microsoft.SqlServer.Management.Smo.Wmi

Outros recursos

Conectando ao Mecanismo de Banco de Dados do SQL Server