WmiSmoObject Constructor (WmiCollectionBase, String)
Initializes a new instance of the WmiSmoObject class with the specified name and collection base class.
Namespace: Microsoft.SqlServer.Management.Smo.Wmi
Assembly: Microsoft.SqlServer.SqlWmiManagement (in microsoft.sqlserver.sqlwmimanagement.dll)
Syntax
'Deklaracja
Protected Friend Sub New ( _
parentColl As WmiCollectionBase, _
name As String _
)
protected internal WmiSmoObject (
WmiCollectionBase parentColl,
string name
)
protected public:
WmiSmoObject (
WmiCollectionBase^ parentColl,
String^ name
)
protected WmiSmoObject (
WmiCollectionBase parentColl,
String name
)
protected internal function WmiSmoObject (
parentColl : WmiCollectionBase,
name : String
)
Parameters
- parentColl
A WmiCollectionBase object on which the WmiSmoObject object is based.
- name
A String value that specifies the name of the WmiSmoObject object.
Remarks
This constructor is called by derived class constructors to initialize the state in this type.
Platforms
Development Platforms
For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.
Target Platforms
For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.
See Also