Share via


WmiSmoObject.GetPropertyManagementObject Method

Gets the management object for the specified protocol property.

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

Syntax

'Declaration
Protected Overridable Function GetPropertyManagementObject ( _
    pp As ProtocolProperty _
) As ManagementObject
'Usage
Dim pp As ProtocolProperty 
Dim returnValue As ManagementObject 

returnValue = Me.GetPropertyManagementObject(pp)
protected virtual ManagementObject GetPropertyManagementObject(
    ProtocolProperty pp
)
protected:
virtual ManagementObject^ GetPropertyManagementObject(
    ProtocolProperty^ pp
)
abstract GetPropertyManagementObject : 
        pp:ProtocolProperty -> ManagementObject  
override GetPropertyManagementObject : 
        pp:ProtocolProperty -> ManagementObject
protected function GetPropertyManagementObject(
    pp : ProtocolProperty
) : ManagementObject

Parameters

Return Value

Type: System.Management.ManagementObject
A ManagementObject system object that specifies the object that manages the ProtocolProperty object.

Examples

Managing Services and Network Settings by Using WMI Provider

See Also

Reference

WmiSmoObject Class

Microsoft.SqlServer.Management.Smo.Wmi Namespace

Other Resources

WMI and SQL Server

Connecting to the SQL Server Database Engine