Share via


SfcReferenceAttribute.GetUrn Method

Gets the Urn reference from the specified instance. Do not reference this member directly in your code. It supports the SQL Server infrastructure.

Namespace:  Microsoft.SqlServer.Management.Sdk.Sfc.Metadata
Assembly:  Microsoft.SqlServer.Management.Sdk.Sfc (in Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Syntax

'Declaration
Public Function GetUrn ( _
    instance As Object _
) As Urn
'Usage
Dim instance As SfcReferenceAttribute 
Dim instance As Object 
Dim returnValue As Urn 

returnValue = instance.GetUrn(instance)
public Urn GetUrn(
    Object instance
)
public:
Urn^ GetUrn(
    Object^ instance
)
member GetUrn : 
        instance:Object -> Urn
public function GetUrn(
    instance : Object
) : Urn

Parameters

Return Value

Type: Microsoft.SqlServer.Management.Sdk.Sfc.Urn
The Urn reference or < languageKeyword>null</languageKeyword> if the attribute does not have a path expression defined.

See Also

Reference

SfcReferenceAttribute Class

Microsoft.SqlServer.Management.Sdk.Sfc.Metadata Namespace