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


Метод WmiCollectionBase.Remove

Removes the specified object from the referenced collection.

Пространство имен:  Microsoft.SqlServer.Management.Smo.Wmi
Сборка:  Microsoft.SqlServer.SqlWmiManagement (в Microsoft.SqlServer.SqlWmiManagement.dll)

Синтаксис

'Декларация
Protected Overridable Sub Remove ( _
    objname As String _
)
'Применение
Dim objname As String 

Me.Remove(objname)
protected virtual void Remove(
    string objname
)
protected:
virtual void Remove(
    String^ objname
)
abstract Remove : 
        objname:string -> unit  
override Remove : 
        objname:string -> unit
protected function Remove(
    objname : String
)

Параметры

  • objname
    Тип: System.String
    A String value that specifies the name of the object to remove from the collection.

Примеры

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

См. также

Справочник

WmiCollectionBase Класс

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

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

WMI and SQL Server

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