Share via


AvailabilityGroupListener.UniqueId Property

Gets the unique identifier of the availability group listener.

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

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property UniqueId As String 
    Get
'Usage
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

Property Value

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

See Also

Reference

AvailabilityGroupListener Class

Microsoft.SqlServer.Management.Smo Namespace