Sets mastership of the folder to the named replica.
VBScript
folder.SetMasterReplicaName replicaName
Perl
$folder->SetMasterReplicaName(replicaName);