Share via


ManagedComputer.GetSmoObject(Urn) Method

Definition

Gets the WmiSmoObject object with the specified Uniform Resource Name (URN) address.

public:
 Microsoft::SqlServer::Management::Smo::Wmi::WmiSmoObject ^ GetSmoObject(Microsoft::SqlServer::Management::Sdk::Sfc::Urn ^ urn);
public Microsoft.SqlServer.Management.Smo.Wmi.WmiSmoObject GetSmoObject (Microsoft.SqlServer.Management.Sdk.Sfc.Urn urn);
member this.GetSmoObject : Microsoft.SqlServer.Management.Sdk.Sfc.Urn -> Microsoft.SqlServer.Management.Smo.Wmi.WmiSmoObject
Public Function GetSmoObject (urn As Urn) As WmiSmoObject

Parameters

urn
Urn

A Urn object with the specified URN address.

Returns

A WmiSmoObject object that represents the object with the specified URN address.

Examples

Managing Services and Network Settings by Using WMI Provider

Applies to