Hold.RegisterCustomHoldProcessor Method
Registers custom hold handler on the specified web application.
Namespace: Microsoft.Office.RecordsManagement.Holds
Assembly: Microsoft.Office.Policy (in Microsoft.Office.Policy.dll)
Syntax
'Declaration
Public Shared Sub RegisterCustomHoldProcessor ( _
strAssembly As String, _
strClass As String, _
webApp As SPWebApplication _
)
'Usage
Dim strAssembly As String
Dim strClass As String
Dim webApp As SPWebApplicationHold.RegisterCustomHoldProcessor(strAssembly, _
strClass, webApp)
public static void RegisterCustomHoldProcessor(
string strAssembly,
string strClass,
SPWebApplication webApp
)
Parameters
strAssembly
Type: System.StringStrong name of the assembly containing the custom hold processor.
strClass
Type: System.StringFull class name of the custom hold handler.
webApp
Type: Microsoft.SharePoint.Administration.SPWebApplicationThe web application.