Database.MirroringSafetyLevel Property
Gets or sets the mirroring safety level.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property MirroringSafetyLevel As MirroringSafetyLevel
Get
Set
'Usage
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)
Property Value
Type: Microsoft.SqlServer.Management.Smo.MirroringSafetyLevel
A MirroringSafetyLevel object value that specifies the mirroring safety level.