ChangeMirroringState 方法

按照选项指定的内容更改镜像配置。

命名空间:  Microsoft.SqlServer.Management.Smo
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
Public Sub ChangeMirroringState ( _
    mirroringOption As MirroringOption _
)
用法
Dim instance As Database
Dim mirroringOption As MirroringOption

instance.ChangeMirroringState(mirroringOption)
public void ChangeMirroringState(
    MirroringOption mirroringOption
)
public:
void ChangeMirroringState(
    MirroringOption mirroringOption
)
member ChangeMirroringState : 
        mirroringOption:MirroringOption -> unit 
public function ChangeMirroringState(
    mirroringOption : MirroringOption
)

参数