Proprietà ServerAlias.Parent

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

Spazio dei nomi  Microsoft.SqlServer.Management.Smo.Wmi
Assembly:  Microsoft.SqlServer.SqlWmiManagement (in Microsoft.SqlServer.SqlWmiManagement.dll)

Sintassi

'Dichiarazione
Public Property Parent As ManagedComputer 
    Get 
    Set
'Utilizzo
Dim instance As ServerAlias 
Dim value As ManagedComputer 

value = instance.Parent

instance.Parent = value
public ManagedComputer Parent { get; set; }
public:
property ManagedComputer^ Parent {
    ManagedComputer^ get ();
    void set (ManagedComputer^ value);
}
member Parent : ManagedComputer with get, set
function get Parent () : ManagedComputer 
function set Parent (value : ManagedComputer)

Valore proprietà

Tipo: Microsoft.SqlServer.Management.Smo.Wmi.ManagedComputer
A ManagedComputer object that specifies the parent of the ServerAlias object.

Esempi

Gestione di servizi e di impostazioni di rete tramite il provider WMI

Vedere anche

Riferimento

ServerAlias Classe

Spazio dei nomi Microsoft.SqlServer.Management.Smo.Wmi

Altre risorse

WMI and SQL Server

Connessione al Motore di database di SQL Server