SearchServiceApplication.HasFailures Method
Indicates whether a failure has occurred during a backup or restore operation.
Namespace: Microsoft.Office.Server.Search.Administration
Assembly: Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)
Syntax
'Declaration
Public Shared Function HasFailures ( _
info As SPBackupRestoreInformation _
) As Boolean
'Usage
Dim info As SPBackupRestoreInformation
Dim returnValue As Boolean
returnValue = SearchServiceApplication.HasFailures(info)
public static bool HasFailures(
SPBackupRestoreInformation info
)
Parameters
info
Type: Microsoft.SharePoint.Administration.Backup.SPBackupRestoreInformationThe information about a backup or restore operation that is running or has just completed.
Return Value
Type: System.Boolean
true if a failure has occurred during a backup or restore operation; otherwise, false. The default is false.
Remarks
The info contains the failure information during a backup or restore operation.
See Also
Reference
SearchServiceApplication Class