Share via


ManagedInstance.ServerUrn Property

Gets the uniform resource name (URN) of the server instance.

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

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.Data)> _
Public ReadOnly Property ServerUrn As String 
    Get
'Usage
Dim instance As ManagedInstance 
Dim value As String 

value = instance.ServerUrn
[SfcPropertyAttribute(SfcPropertyFlags.Data)]
public string ServerUrn { get; }
[SfcPropertyAttribute(SfcPropertyFlags::Data)]
public:
property String^ ServerUrn {
    String^ get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.Data)>]
member ServerUrn : string
function get ServerUrn () : String

Property Value

Type: System.String
A String containing the server's URN.

See Also

Reference

ManagedInstance Class

Microsoft.SqlServer.Management.Utility Namespace