Share via


WmiSmoObject.Urn Property

Gets the Uniform Resource Name (URN) address that represents the Windows Management Instrumentation (WMI) object.

Namespace:  Microsoft.SqlServer.Management.Smo.Wmi
Assembly:  Microsoft.SqlServer.SqlWmiManagement (in Microsoft.SqlServer.SqlWmiManagement.dll)

Syntax

'Declaration
Public Overridable ReadOnly Property Urn As Urn 
    Get
'Usage
Dim instance As WmiSmoObject 
Dim value As Urn 

value = instance.Urn
public virtual Urn Urn { get; }
public:
virtual property Urn^ Urn {
    Urn^ get ();
}
abstract Urn : Urn 
override Urn : Urn
function get Urn () : Urn

Property Value

Type: Microsoft.SqlServer.Management.Sdk.Sfc.Urn
A Urn object value that specifies the WMI object.

Examples

Managing Services and Network Settings by Using WMI Provider

See Also

Reference

WmiSmoObject Class

Microsoft.SqlServer.Management.Smo.Wmi Namespace

Other Resources

WMI and SQL Server

Connecting to the SQL Server Database Engine