Sdílet prostřednictvím


Database.AvailabilityDatabaseSynchronizationState Property

Gets the synchronization state of the availability database.

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

Syntax

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

value = instance.AvailabilityDatabaseSynchronizationState
[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Expensive|SfcPropertyFlags.Standalone)]
public AvailabilityDatabaseSynchronizationState AvailabilityDatabaseSynchronizationState { get; }
[SfcPropertyAttribute(SfcPropertyFlags::None|SfcPropertyFlags::Expensive|SfcPropertyFlags::Standalone)]
public:
property AvailabilityDatabaseSynchronizationState AvailabilityDatabaseSynchronizationState {
    AvailabilityDatabaseSynchronizationState get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Expensive|SfcPropertyFlags.Standalone)>]
member AvailabilityDatabaseSynchronizationState : AvailabilityDatabaseSynchronizationState
function get AvailabilityDatabaseSynchronizationState () : AvailabilityDatabaseSynchronizationState

Property Value

Type: Microsoft.SqlServer.Management.Smo.AvailabilityDatabaseSynchronizationState
One of enumeration values of the AvailabilityDatabaseSynchronizationState enumeration.

See Also

Reference

Database Class

Microsoft.SqlServer.Management.Smo Namespace