GetPropertyManagementObject 方法
Gets the management object for the specified protocol property.
命名空間: Microsoft.SqlServer.Management.Smo.Wmi
組件: Microsoft.SqlServer.SqlWmiManagement (在 Microsoft.SqlServer.SqlWmiManagement.dll 中)
語法
'宣告
Protected Overridable Function GetPropertyManagementObject ( _
pp As ProtocolProperty _
) As ManagementObject
'用途
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
參數
- pp
型別:Microsoft.SqlServer.Management.Smo.Wmi. . :: . .ProtocolProperty
A ProtocolProperty object that specifies the protocol property.
傳回值
型別:System.Management. . :: . .ManagementObject
A ManagementObject system object that specifies the object that manages the ProtocolProperty object.