C# Class JDP.Remediation.Console.DeleteWebparts

ファイルを表示 Open project: OfficeDev/PnP-Transformation Class Usage Examples

Public Properties

Property Type Description
filePath string
outputPath string

Public Methods

Method Description
DeleteWebPart ( string webUrl, string pageUrl, string _storageKey ) : bool
DeleteWebPart_UsingCSV ( string webPartType, string webPartsInputFile, string csvFile ) : void
DoWork ( ) : void

Private Methods

Method Description
DeleteWebPart ( Web web, string serverRelativePageUrl, System.Guid storageKey ) : bool
GetPageList ( ClientContext clientContext ) : List
GetPageRelativeURL ( string WebUrl, string PageUrl, string UserName = "N/A", string Password = "N/A", string Domain = "N/A" ) : string
GetWebPartID ( string webPartID ) : string
IsPublishingWeb ( ClientContext clientContext, Web web ) : bool
ReadInputFile ( string &webPartsInputFile ) : bool
ReadWebPartUsageCSV ( string sourceWebPartType, string usageFilePath, IEnumerable &objWPDInput ) : void

Method Details

DeleteWebPart() public static method

public static DeleteWebPart ( string webUrl, string pageUrl, string _storageKey ) : bool
webUrl string
pageUrl string
_storageKey string
return bool

DeleteWebPart_UsingCSV() public static method

public static DeleteWebPart_UsingCSV ( string webPartType, string webPartsInputFile, string csvFile ) : void
webPartType string
webPartsInputFile string
csvFile string
return void

DoWork() public static method

public static DoWork ( ) : void
return void

Property Details

filePath public_oe static_oe property

public static string filePath
return string

outputPath public_oe static_oe property

public static string outputPath
return string