エンドポイントでサポートされているデータベース ミラーリング ロールを取得または設定します。
名前空間: Microsoft.Data.Schema.ScriptDom.Sql
アセンブリ: Microsoft.Data.Schema.ScriptDom.Sql (Microsoft.Data.Schema.ScriptDom.Sql.dll 内)
構文
'宣言
Public Property Role As DatabaseMirroringEndpointRole
Get
Set
public DatabaseMirroringEndpointRole Role { get; set; }
public:
property DatabaseMirroringEndpointRole Role {
DatabaseMirroringEndpointRole get ();
void set (DatabaseMirroringEndpointRole value);
}
member Role : DatabaseMirroringEndpointRole with get, set
function get Role () : DatabaseMirroringEndpointRole
function set Role (value : DatabaseMirroringEndpointRole)
プロパティ値
型: Microsoft.Data.Schema.ScriptDom.Sql.DatabaseMirroringEndpointRole
DatabaseMirroringEndpointRole 列挙値を返します。
.NET Framework セキュリティ
- 直前の呼び出し元に対する完全な信頼。 このメンバーは、部分的に信頼されているコードから使用することはできません。 詳細については、「部分信頼コードからのライブラリの使用」を参照してください。