次の方法で共有


Database.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 オブジェクトの値。

使用例

データベース オブジェクトでの作業

関連項目

参照

Database クラス

Microsoft.SqlServer.Management.Smo 名前空間

その他の技術情報

データベース ミラーリングの管理

エンドポイントの実装

データベースの作成、変更、および削除

CREATE DATABASE (Transact-SQL)