共用方式為


MirroringSafetyLevel 屬性

取得或設定鏡像的安全性層級。

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

語法

'宣告
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property MirroringSafetyLevel As MirroringSafetyLevel
    Get
    Set
'用途
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)

屬性值

型別:Microsoft.SqlServer.Management.Smo. . :: . .MirroringSafetyLevel
指定鏡像安全性層級的 MirroringSafetyLevel 物件值。