Partilhar via


SPJobState.Remove Method

Removes the property, so that it will not be persisted if the job is paused and the timer service is stopped.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public Sub Remove ( _
    key As String _
)
'Usage
Dim instance As SPJobState
Dim key As String

instance.Remove(key)
public void Remove(
    string key
)

Parameters

  • key
    Type: System.String

    The name of the property to be removed.

See Also

Reference

SPJobState Class

SPJobState Members

Microsoft.SharePoint.Administration Namespace