WmiSmoObject.SetParentImpl Method
Sets the parent of the referenced object.
Namespace: Microsoft.SqlServer.Management.Smo.Wmi
Assembly: Microsoft.SqlServer.SqlWmiManagement (in Microsoft.SqlServer.SqlWmiManagement.dll)
Syntax
'Declaration
Protected Friend Sub SetParentImpl ( _
newParent As WmiSmoObject _
)
'Usage
Dim newParent As WmiSmoObject
Me.SetParentImpl(newParent)
protected internal void SetParentImpl(
WmiSmoObject newParent
)
protected public:
void SetParentImpl(
WmiSmoObject^ newParent
)
member SetParentImpl :
newParent:WmiSmoObject -> unit
function SetParentImpl(
newParent : WmiSmoObject
)
Parameters
- newParent
Type: Microsoft.SqlServer.Management.Smo.Wmi.WmiSmoObject
A WmiSmoObject that is the parent of the referenced object.
Examples
Managing Services and Network Settings by Using WMI Provider
See Also
Reference
Microsoft.SqlServer.Management.Smo.Wmi Namespace