共用方式為


AvailabilityGroupListener.UniqueId 屬性

Gets the unique identifier of the availability group listener.

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

語法

'宣告
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property UniqueId As String 
    Get
'用途
Dim instance As AvailabilityGroupListener 
Dim value As String 

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

屬性值

型別:System.String
The unique identifier of the availability group listener.

請參閱

參考

AvailabilityGroupListener 類別

Microsoft.SqlServer.Management.Smo 命名空間