public ChangeMasterPageForWeb ( string outPutFolder, string WebUrl, string NewMasterPageURL, string OldMasterPageURL = "N/A", bool CustomMasterUrlStatus = true, bool MasterUrlStatus = true, string ActionType = Constants.ActionType_Web, string SharePointOnline_OR_OnPremise = Constants.OnPremise, string UserName = "N/A", string Password = "N/A", string Domain = "N/A" ) : |
||
outPutFolder | string | |
WebUrl | string | |
NewMasterPageURL | string | |
OldMasterPageURL | string | |
CustomMasterUrlStatus | bool | |
MasterUrlStatus | bool | |
ActionType | string | |
SharePointOnline_OR_OnPremise | string | |
UserName | string | |
Password | string | |
Domain | string | |
Результат |
protected override void ProcessRecord() { MasterPageHelper objMasterHelper = new MasterPageHelper(); objMasterHelper.ChangeMasterPageForWeb(OutPutDirectory, WebUrl, New_MasterPageURL, Old_MasterPageURL, CustomMasterUrlStatus, MasterUrlStatus, Constants.ActionType_Web.ToLower(), SharePointOnline_OR_OnPremise, UserName, Password, Domain); }
protected override void ProcessRecord() { MasterPageHelper objMasterHelper = new MasterPageHelper(); objMasterHelper.ChangeMasterPageForWeb(OutPutDirectory, WebUrl, New_MasterPageURL, Old_MasterPageURL, CustomMasterUrlStatus, MasterUrlStatus, Constants.ActionType_Web.ToLower(), SharePointOnline_OR_OnPremise, UserName, Password, Domain); }
protected override void ProcessRecord() { MasterPageHelper objMasterHelper = new MasterPageHelper(); objMasterHelper.ChangeMasterPageForWeb(InputFolder, WebUrl, New_MasterPageURL, Old_MasterPageURL, CustomMasterUrlStatus, MasterUrlStatus, "", SharePointOnline_OR_OnPremise, UserName, Password, Domain); }