C# 클래스 GSoft.Dynamite.WebConfig.WebConfigModificationHelper

Helper class to add, clean, remove WebConfig modifications programmatically
파일 보기 프로젝트 열기: GSoft-SharePoint/Dynamite-2010 1 사용 예제들

공개 메소드들

메소드 설명
AddAndCleanWebConfigModification ( SPWebApplication webApp, Collection webConfigModificationCollection ) : void

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 !

비공개 메소드들

메소드 설명
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.

메소드 상세

AddAndCleanWebConfigModification() 공개 메소드

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 !
public AddAndCleanWebConfigModification ( SPWebApplication webApp, Collection webConfigModificationCollection ) : void
webApp SPWebApplication
webConfigModificationCollection Collection The collection of WebConfig modifications to remove-and-add
리턴 void