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 데이터베이스 엔진에 연결