共用方式為


Database.AvailabilityDatabaseSynchronizationState 屬性

Gets the synchronization state of the availability database.

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Expensive Or SfcPropertyFlags.Standalone)> _
Public ReadOnly Property AvailabilityDatabaseSynchronizationState As AvailabilityDatabaseSynchronizationState 
    Get
'用途
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

屬性值

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

請參閱

參考

Database 類別

Microsoft.SqlServer.Management.Smo 命名空間