public override string BackupVirtualServer(string url, string fileName, bool zipBackup) { AppDomain domain = null; try { domain = CreateAppDomain(); Sps30Remote wss = CreateSps30Remote(domain); // call method return(wss.BackupVirtualServer(url, fileName, zipBackup)); } finally { if (domain != null) { AppDomain.Unload(domain); } } }
public override void UnextendVirtualServer(string url, bool deleteContent) { AppDomain domain = null; try { domain = CreateAppDomain(); Sps30Remote wss = CreateSps30Remote(domain); // call method wss.UnextendVirtualServer(url, deleteContent); } finally { if (domain != null) { AppDomain.Unload(domain); } } }
public override void ExtendVirtualServer(SharePointSite site) { AppDomain domain = null; try { domain = CreateAppDomain(); Sps30Remote wss = CreateSps30Remote(domain); // call method wss.ExtendVirtualServer(site, ExclusiveNTLM); } finally { if (domain != null) { AppDomain.Unload(domain); } } }
public override void DeleteWebPartsPackage(string url, string packageName) { AppDomain domain = null; try { domain = CreateAppDomain(); Sps30Remote wss = CreateSps30Remote(domain); // call method wss.DeleteWebPartsPackage(url, packageName); } finally { if (domain != null) { AppDomain.Unload(domain); } } }
public override string[] GetInstalledWebParts(string url) { AppDomain domain = null; try { domain = CreateAppDomain(); Sps30Remote wss = CreateSps30Remote(domain); // call method return(wss.GetInstalledWebParts(url)); } finally { if (domain != null) { AppDomain.Unload(domain); } } }
public override void RestoreVirtualServer(string url, string fileName) { AppDomain domain = null; try { domain = CreateAppDomain(); Sps30Remote wss = CreateSps30Remote(domain); // call method wss.RestoreVirtualServer(url, fileName); } finally { if (domain != null) { AppDomain.Unload(domain); } } }