Method | Description | |
---|---|---|
AddAndCleanWebConfigModification ( SPWebApplication webApp, Collection |
Method to add one or multiple WebConfig modifications NOTE: There should not have 2 modifications with the same Owner. All SPWebConfigModification Owner should be UNIQUE ! |
Method | Description | |
---|---|---|
IsJobDefined ( SPFarm farm, string jobTitle ) : bool | ||
IsJobRunning ( SPFarm farm, string jobTitle ) : bool |
Determines whether the specified timer job is currently running (or scheduled to run).
|
|
RemoveExistingModificationsFromOwner ( SPWebApplication webApplication, string owner ) : void | ||
WaitForOnetimeJobToFinish ( SPFarm farm, string jobTitle, int maximumWaitTimeInSeconds ) : void |
Waits for a one-time SharePoint timer job to finish.
|
public AddAndCleanWebConfigModification ( SPWebApplication webApp, Collection |
||
webApp | SPWebApplication | |
webConfigModificationCollection | Collection |
The collection of WebConfig modifications to remove-and-add |
return | void |