UserDelegationEventReceiver.OnDeactivated メソッド
ポスト イベント ハンドラーのデリゲートの非アクティブ化します。
名前空間: Microsoft.Office.Project.Server.Events
アセンブリ: Microsoft.Office.Project.Server.Events.Receivers (Microsoft.Office.Project.Server.Events.Receivers.dll 内)
構文
'宣言
Public Overridable Sub OnDeactivated ( _
contextInfo As PSContextInfo, _
e As UserDelegationDeactivatePostEventArgs _
)
'使用
Dim instance As UserDelegationEventReceiver
Dim contextInfo As PSContextInfo
Dim e As UserDelegationDeactivatePostEventArgs
instance.OnDeactivated(contextInfo, e)
public virtual void OnDeactivated(
PSContextInfo contextInfo,
UserDelegationDeactivatePostEventArgs e
)
パラメーター
contextInfo
型: Microsoft.Office.Project.Server.Library.PSContextInfoProject Server のコンテキスト情報が含まれています。
注釈
重要
OnDeactivatedイベントの受信側は、 Project Onlineが使用する SharePoint のアクセス許可モードではサポートされていません、デフォルトの設置型Project Server 2013のインストールします。詳細については、TechNet では Project Server 2013 での IT プロフェッショナル向けの新しい記事のSharePoint アクセス許可モードを参照してください。
CreateDelegationsまたはUpdateDelegationsのメソッドは、時間を開始または停止、 UserDelegationDataSetでのユーザーの委任を設定できます。委任の非アクティブ化、アクティブ化の時点でも内部プロセスで発生します。
たとえば、 OnDeactivatedイベント ハンドラーを使用する、 プロジェクト サーバー 2010年の委任監査イベント ハンドラーを参照してください。
関連項目
参照先
UserDelegationEventReceiver クラス