Sdílet prostřednictvím


Database.MirroringSafetySequence Property

Gets the role sequence number for safety levels for the mirroring partners.

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

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property MirroringSafetySequence As Integer 
    Get
'Usage
Dim instance As Database 
Dim value As Integer 

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

Property Value

Type: System.Int32
An Int32 value that specifies the sequence number for safety levels for the mirroring partners.

Examples

Working with Database Objects

See Also

Reference

Database Class

Microsoft.SqlServer.Management.Smo Namespace

Other Resources

Database Mirroring Administration

Implementing Endpoints

Creating, Altering, and Removing Databases

CREATE DATABASE (Transact-SQL)