مشاركة عبر


ServerInstance.Parent Property

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

Examples

Managing Services and Network Settings by Using WMI Provider

See Also

Reference

ServerInstance Class

Microsoft.SqlServer.Management.Smo.Wmi Namespace

Other Resources

WMI and SQL Server

Connecting to the SQL Server Database Engine