共用方式為


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
)

參數