DatabaseMirroringPayload.ServerMirroringRole プロパティ
サーバー ミラーリング ロールを取得します。値の設定も可能です。
名前空間: Microsoft.SqlServer.Management.Smo
アセンブリ: Microsoft.SqlServer.Smo (Microsoft.SqlServer.Smo.dll)
構文
'宣言
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property ServerMirroringRole As ServerMirroringRole
Get
Set
'使用
Dim instance As DatabaseMirroringPayload
Dim value As ServerMirroringRole
value = instance.ServerMirroringRole
instance.ServerMirroringRole = value
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public ServerMirroringRole ServerMirroringRole { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
property ServerMirroringRole ServerMirroringRole {
ServerMirroringRole get ();
void set (ServerMirroringRole value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
member ServerMirroringRole : ServerMirroringRole with get, set
function get ServerMirroringRole () : ServerMirroringRole
function set ServerMirroringRole (value : ServerMirroringRole)
プロパティ値
型: Microsoft.SqlServer.Management.Smo.ServerMirroringRole
サーバー ミラーリング ロールを示す ServerMirroringRole オブジェクトの値です。
使用例
関連項目
参照
Microsoft.SqlServer.Management.Smo 名前空間