Partager via


MirroringSafetyLevel propriété

Gets or sets the mirroring safety level.

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (dans Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
<SfcPropertyAttribute> _
Public Property MirroringSafetyLevel As MirroringSafetyLevel
    Get
    Set
'Utilisation
Dim instance As Database
Dim value As MirroringSafetyLevel

value = instance.MirroringSafetyLevel

instance.MirroringSafetyLevel = value
[SfcPropertyAttribute]
public MirroringSafetyLevel MirroringSafetyLevel { get; set; }
[SfcPropertyAttribute]
public:
property MirroringSafetyLevel MirroringSafetyLevel {
    MirroringSafetyLevel get ();
    void set (MirroringSafetyLevel value);
}
[<SfcPropertyAttribute>]
member MirroringSafetyLevel : MirroringSafetyLevel with get, set
function get MirroringSafetyLevel () : MirroringSafetyLevel
function set MirroringSafetyLevel (value : MirroringSafetyLevel)

Valeur de la propriété

Type : Microsoft.SqlServer.Management.Smo. . :: . .MirroringSafetyLevel
A MirroringSafetyLevel object value that specifies the mirroring safety level.