Compartir a través de


ServerAlias.Parent Property

Gets or sets the ManagedComputer object that is the parent of the ServerAlias object.

Espacio de nombres: Microsoft.SqlServer.Management.Smo.Wmi
Ensamblado: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

Sintaxis

'Declaración
Public Property Parent As ManagedComputer
public ManagedComputer Parent { get; set; }
public:
property ManagedComputer^ Parent {
    ManagedComputer^ get ();
    void set (ManagedComputer^ value);
}
/** @property */
public ManagedComputer get_Parent ()

/** @property */
public void set_Parent (ManagedComputer value)
public function get Parent () : ManagedComputer

public function set Parent (value : ManagedComputer)

Valor de propiedad

A ManagedComputer object that specifies the parent of the ServerAlias object.

Notas

Este espacio de nombres, clase o miembro solamente se admite en la versión 2.0 de Microsoft .NET Framework.

Ejemplo

How to: Stop and Restart the Microsoft SQL Server Service to the Instance of SQL Server in Visual Basic .NET

Seguridad para subprocesos

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Plataformas

Plataformas de desarrollo

Para obtener una lista de las plataformas compatibles, vea Requisitos de hardware y software para instalar SQL Server 2005.

Plataformas de destino

Para obtener una lista de las plataformas compatibles, vea Requisitos de hardware y software para instalar SQL Server 2005.

Vea también

Referencia

ServerAlias Class
ServerAlias Members
Microsoft.SqlServer.Management.Smo.Wmi Namespace

Otros recursos

Managing Services and Network Settings by Using WMI Provider
WMI and SQL Server
Conectar al Motor de base de datos de SQL Server