Share via


SPJobState.Item Property

Gets or sets an item from the collection of job state properties.

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

Syntax

'Declaration
Public Default Property Item ( _
    key As String _
) As Object
    Get
    Set
'Usage
Dim instance As SPJobState
Dim key As String
Dim value As Object

value = instance(key)

instance(key) = value
public Object this[
    string key
] { get; set; }

Parameters

  • key
    Type: System.String

    A string representing the property to be retrieved.

Property Value

Type: System.Object
An Object representing the property retrieved.

See Also

Reference

SPJobState Class

SPJobState Members

Microsoft.SharePoint.Administration Namespace