Share via


SPContentDatabaseTestResult.Error property

Gets or sets a Boolean value that specifies whether the test result represents an error in the database.

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

Syntax

'Declaration
Public Property Error As Boolean
    Get
    Set
'Usage
Dim instance As SPContentDatabaseTestResult
Dim value As Boolean

value = instance.Error

instance.Error = value
public bool Error { get; set; }

Property value

Type: System.Boolean
Boolean
true if the test result represents an error in the database; otherwise, false.

See also

Reference

SPContentDatabaseTestResult class

SPContentDatabaseTestResult members

Microsoft.SharePoint.Upgrade namespace