Dela 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.