WmiSmoObject 생성자 (WmiCollectionBase, String)
Initializes a new instance of the WmiSmoObject class with the specified name and collection base class.
네임스페이스: Microsoft.SqlServer.Management.Smo.Wmi
어셈블리: Microsoft.SqlServer.SqlWmiManagement(Microsoft.SqlServer.SqlWmiManagement.dll)
구문
‘선언
Protected Friend Sub New ( _
parentColl As WmiCollectionBase, _
name As String _
)
‘사용 방법
Dim parentColl As WmiCollectionBase
Dim name As String
Dim instance As New WmiSmoObject(parentColl, _
name)
protected internal WmiSmoObject(
WmiCollectionBase parentColl,
string name
)
protected public:
WmiSmoObject(
WmiCollectionBase^ parentColl,
String^ name
)
new :
parentColl:WmiCollectionBase *
name:string -> WmiSmoObject
function WmiSmoObject(
parentColl : WmiCollectionBase,
name : String
)
매개 변수
- parentColl
유형: Microsoft.SqlServer.Management.Smo.Wmi.WmiCollectionBase
A WmiCollectionBase object on which the WmiSmoObject object is based.
- name
유형: System.String
A String value that specifies the name of the WmiSmoObject object.
주의
This constructor is called by derived class constructors to initialize the state in this type.
예
WMI 공급자를 사용하여 서비스 및 네트워크 설정 관리
참고 항목
참조
Microsoft.SqlServer.Management.Smo.Wmi 네임스페이스