Sets the mastership of the workspace item. You can use this method to change the mastership location for a workspace item (for example, change the mastership of a query in a Public Folder) in a MultiSite environment.
VBScript
workspace.SetWorkspaceItemMasterReplica replicaName, dbid
Perl
$workspace->SetWorkspaceItemMasterReplica(replicaName, dbid);