ManagedComputer.GetSmoObject Method
Gets the WmiSmoObject object with the specified Uniform Resource Name (URN) address.
Namespace: Microsoft.SqlServer.Management.Smo.Wmi
Assembly: Microsoft.SqlServer.SqlWmiManagement (in Microsoft.SqlServer.SqlWmiManagement.dll)
Syntax
'Declaration
Public Function GetSmoObject ( _
urn As Urn _
) As WmiSmoObject
'Usage
Dim instance As ManagedComputer
Dim urn As Urn
Dim returnValue As WmiSmoObject
returnValue = instance.GetSmoObject(urn)
public WmiSmoObject GetSmoObject(
Urn urn
)
public:
WmiSmoObject^ GetSmoObject(
Urn^ urn
)
member GetSmoObject :
urn:Urn -> WmiSmoObject
public function GetSmoObject(
urn : Urn
) : WmiSmoObject
Parameters
- urn
Type: Microsoft.SqlServer.Management.Sdk.Sfc.Urn
A Urn object with the specified URN address.
Return Value
Type: Microsoft.SqlServer.Management.Smo.Wmi.WmiSmoObject
A WmiSmoObject object that represents the object with the specified URN address.
See Also