共用方式為


ManagedInstance.ServerUrn 屬性

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

命名空間:  Microsoft.SqlServer.Management.Utility
組件:  Microsoft.SqlServer.Management.Utility (在 Microsoft.SqlServer.Management.Utility.dll 中)

語法

'宣告
<SfcPropertyAttribute(SfcPropertyFlags.Data)> _
Public ReadOnly Property ServerUrn As String 
    Get
'用途
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

屬性值

型別:System.String
A String containing the server's URN.

請參閱

參考

ManagedInstance 類別

Microsoft.SqlServer.Management.Utility 命名空間