DatabaseReplicaState.SynchronizationState 属性

Gets the state of the availability database synchronization.

命名空间:  Microsoft.SqlServer.Management.Smo
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property SynchronizationState As AvailabilityDatabaseSynchronizationState 
    Get
用法
Dim instance As DatabaseReplicaState 
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

属性值

类型:Microsoft.SqlServer.Management.Smo.AvailabilityDatabaseSynchronizationState
The state of the availability database synchronization.

请参阅

参考

DatabaseReplicaState 类

Microsoft.SqlServer.Management.Smo 命名空间