Export (0) Print
Expand All
Expand Minimize

Database.AvailabilityGroupName Property

Gets the availability group name in the database.

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

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Expensive Or SfcPropertyFlags.Standalone)> _
Public ReadOnly Property AvailabilityGroupName As String 
	Get
'Usage
Dim instance As Database 
Dim value As String 

value = instance.AvailabilityGroupName

Property Value

Type: String
The availability group name.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft