Compartir a través de


ManagedComputer.ServerAliases Propiedad

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

Espacio de nombres:  Microsoft.SqlServer.Management.Smo.Wmi
Ensamblado:  Microsoft.SqlServer.SqlWmiManagement (en Microsoft.SqlServer.SqlWmiManagement.dll)

Sintaxis

'Declaración
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 de la propiedad

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

Ejemplos

Administrar servicios y configuración de red utilizando el proveedor WMI

Vea también

Referencia

ManagedComputer Clase

Espacio de nombres Microsoft.SqlServer.Management.Smo.Wmi

Otros recursos

Conectar al Motor de base de datos de SQL Server