Freigeben über


SqlSmoObject.IAlienObject.GetUrn-Methode

Gets the Unified Resource Name (URN) of the object. Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur.

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

Syntax

'Declaration
Private Function GetUrn As Urn Implements IAlienObject.GetUrn
'Usage
Dim instance As SqlSmoObject 
Dim returnValue As Urn 

returnValue = CType(instance, IAlienObject).GetUrn()
Urn IAlienObject.GetUrn()
private:
virtual Urn^ GetUrn() sealed = IAlienObject::GetUrn
private abstract GetUrn : unit -> Urn  
private override GetUrn : unit -> Urn
JScript unterstützt die Verwendung expliziter Schnittstellenimplementierungen, aber nicht die Deklaration neuer Schnittstellenimplementierungen.

Rückgabewert

Typ: Microsoft.SqlServer.Management.Sdk.Sfc.Urn
A Urn which represents the URN of the object..

Implementiert

IAlienObject.GetUrn()

Siehe auch

Verweis

SqlSmoObject Klasse

Microsoft.SqlServer.Management.Smo-Namespace