Share via


ServerProtocol.Parent Property

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

Namespace:  Microsoft.SqlServer.Management.Smo.Wmi
Assembly:  Microsoft.SqlServer.SqlWmiManagement (in Microsoft.SqlServer.SqlWmiManagement.dll)

Syntax

'Declaration
Public ReadOnly Property Parent As ServerInstance 
    Get
'Usage
Dim instance As ServerProtocol 
Dim value As ServerInstance 

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

Property Value

Type: Microsoft.SqlServer.Management.Smo.Wmi.ServerInstance
A ManagedComputer object that is the parent of the ServerProtocol object.

Examples

Managing Services and Network Settings by Using WMI Provider

See Also

Reference

ServerProtocol Class

Microsoft.SqlServer.Management.Smo.Wmi Namespace

Other Resources

WMI and SQL Server

Connecting to the SQL Server Database Engine