ChangeMirroringState 方法
Changes the mirroring configuration as specified by the options.
命名空間: 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
)
參數
- mirroringOption
型別:Microsoft.SqlServer.Management.Smo. . :: . .MirroringOption
A MirroringOption object value that specifies how the mirroring configuration is updated.