次の方法で共有


RolePayloadOption.Role プロパティ

エンドポイントでサポートされているデータベース ミラーリング ロールを取得または設定します。

名前空間 :  Microsoft.Data.Schema.ScriptDom.Sql
アセンブリ :  Microsoft.Data.Schema.ScriptDom.Sql (Microsoft.Data.Schema.ScriptDom.Sql.dll 内)

構文

'宣言
Public Property Role As DatabaseMirroringEndpointRole
'使用
Dim instance As RolePayloadOption
Dim value As DatabaseMirroringEndpointRole

value = instance.Role

instance.Role = value
public DatabaseMirroringEndpointRole Role { get; set; }
public:
property DatabaseMirroringEndpointRole Role {
    DatabaseMirroringEndpointRole get ();
    void set (DatabaseMirroringEndpointRole value);
}
public function get Role () : DatabaseMirroringEndpointRole
public function set Role (value : DatabaseMirroringEndpointRole)

プロパティ値

型 : Microsoft.Data.Schema.ScriptDom.Sql.DatabaseMirroringEndpointRole
DatabaseMirroringEndpointRole 列挙値を返します。

参照

参照

RolePayloadOption クラス

RolePayloadOption メンバ

Microsoft.Data.Schema.ScriptDom.Sql 名前空間