Поделиться через


Метод WmiSmoObject.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

Параметры

Возвращаемое значение

Тип: System.Management.ManagementObject
A ManagementObject system object that specifies the object that manages the ProtocolProperty object.

Примеры

Управление службами и сетевыми настройками с помощью поставщика WMI

См. также

Справочник

WmiSmoObject Класс

Пространство имен Microsoft.SqlServer.Management.Smo.Wmi

Другие ресурсы

WMI and SQL Server

Соединение с компонентом SQL Server Database Engine