Share via


Propriété MirroringSafetyLevel

Obtient ou définit le niveau de sécurité de la mise en miroir.

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

Syntaxe

'Déclaration
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property MirroringSafetyLevel As MirroringSafetyLevel
    Get
    Set
'Utilisation
Dim instance As Database
Dim value As MirroringSafetyLevel

value = instance.MirroringSafetyLevel

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

Valeur de propriété

Type : Microsoft.SqlServer.Management.Smo. . :: . .MirroringSafetyLevel
Valeur de l'objet MirroringSafetyLevel qui spécifie le niveau de sécurité de la mise en miroir.