SPAppInstance.InError property

Gets whether the app instance is in an an error state.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public ReadOnly Property InError As Boolean
    Get
'Usage
Dim instance As SPAppInstance
Dim value As Boolean

value = instance.InError
public bool InError { get; }

Property value

Type: System.Boolean
true if the app instance is in an error state, otherwise false.

Remarks

An error state is one that requires a job to be retried or aborted, for the instance to continue its current lifecycle operation. This field is orthogonal to the Status of the instance.

See also

Reference

SPAppInstance class

SPAppInstance members

Microsoft.SharePoint.Administration namespace