Share via


Policy.Key.GetUrnFragment Method

Gets the unique resource name (URN) path partial string that represents the policy.

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

Syntax

'Declaration
Public Overrides Function GetUrnFragment As String
'Usage
Dim instance As Policy..::..Key
Dim returnValue As String

returnValue = instance.GetUrnFragment()
public override string GetUrnFragment()
public:
virtual String^ GetUrnFragment() override
abstract GetUrnFragment : unit -> string 
override GetUrnFragment : unit -> string 
public override function GetUrnFragment() : String

Return Value

Type: System.String
A String value that contains the URN fragment.

Remarks

For more information about URNs, see Query Expressions and Unique Resource Names.