Share via


ServiceCollection.Parent Property

Gets the ManagedComputer object that is the parent of the ServiceCollection 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 ServiceCollection 
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 ServiceCollection object.

Examples

Using Collections

See Also

Reference

ServiceCollection Class

Microsoft.SqlServer.Management.Smo.Wmi Namespace