Service.Parent Property
Gets the ManagedComputer object that is the parent of the Service object.
Namespace: Microsoft.SqlServer.Management.Smo.Wmi
Assembly: Microsoft.SqlServer.SqlWmiManagement (in Microsoft.SqlServer.SqlWmiManagement.dll)
Syntax
'Declaration
Public ReadOnly Property Parent As ManagedComputer
Get
'Usage
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
Property Value
Type: Microsoft.SqlServer.Management.Smo.Wmi.ManagedComputer
A ManagedComputer object that is the parent of the Service object.
Examples
Managing Services and Network Settings by Using WMI Provider
See Also
Reference
Microsoft.SqlServer.Management.Smo.Wmi Namespace