AvailabilityGroup.UniqueId Property

Gets or sets the GUID that uniquely identifies the availability group.

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

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property UniqueId As Guid 
    Get
'Usage
Dim instance As AvailabilityGroup 
Dim value As Guid 

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

Property Value

Type: System.Guid
The GUID that uniquely identifies the availability group.

See Also

Reference

AvailabilityGroup Class

Microsoft.SqlServer.Management.Smo Namespace