다음을 통해 공유


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.dll의 Microsoft.SqlServer.SqlWmiManagement

구문

‘선언
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
)

매개 변수

주의

This constructor is called by derived class constructors to initialize the state in this type.