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
- pp
Type: Microsoft.SqlServer.Management.Smo.Wmi.ProtocolProperty
A ProtocolProperty object that specifies the protocol property.
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
Microsoft.SqlServer.Management.Smo.Wmi Namespace