ManagedComputer.GetSmoObject(Urn) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Returns
A WmiSmoObject object that represents the object with the specified URN address.
Examples
Managing Services and Network Settings by Using WMI Provider