This method removes the connection with the remote SRM server. This operation will automatically logs out from the remote site.

Synopsis

@task void breakPairing(RemoteSite site)
The breakParing method returns the drextapi.Task to track the operation. For more information, see SrmExtApiTask. breakParing has the following fields:
Field Description
site The remote SRM server to remove. For more information, see GetPairedSite.

Note:
If the returned task fails, its error field may contain:
  • drextapi.fault.SitePairingFault - If another pairing operation is in progress, site still has protected objects or a paired remote site cannot be found.

Faults

  • InvalidArgument
  • RuntimeFault

See Faults in Site Recovery Manager API for more details.