Proprietà Service.Parent

Gets the ManagedComputer object that is the parent of the Service object.

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

Sintassi

'Dichiarazione
Public ReadOnly Property Parent As ManagedComputer 
    Get
'Utilizzo
Dim instance As Service 
Dim value As ManagedComputer 

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

Valore proprietà

Tipo: Microsoft.SqlServer.Management.Smo.Wmi.ManagedComputer
A ManagedComputer object that is the parent of the Service object.

Esempi

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

Vedere anche

Riferimento

Service Classe

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

Altre risorse

WMI and SQL Server

Connessione al Motore di database di SQL Server