مشاركة عبر


AvailabilityDatabase.SynchronizationState Property

Gets the availability database synchronization state.

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

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property SynchronizationState As AvailabilityDatabaseSynchronizationState 
    Get
'Usage
Dim instance As AvailabilityDatabase 
Dim value As AvailabilityDatabaseSynchronizationState 

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

Property Value

Type: Microsoft.SqlServer.Management.Smo.AvailabilityDatabaseSynchronizationState
The availability database synchronization state.

See Also

Reference

AvailabilityDatabase Class

Microsoft.SqlServer.Management.Smo Namespace