SPAdministrationServiceJobDefinition.RefreshAndEnable method
Removes changes that have not yet been committed by using the Update() function.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Sub RefreshAndEnable ( _
enable As Boolean _
)
'Usage
Dim instance As SPAdministrationServiceJobDefinition
Dim enable As Boolean
instance.RefreshAndEnable(enable)
public void RefreshAndEnable(
bool enable
)
Parameters
enable
Type: System.BooleanBoolean that specifies whether the function is enabled.
Remarks
Use this method when you need to bypass the normal requirement that all updates to this object must be performed by an administrator.
See also
Reference
SPAdministrationServiceJobDefinition class