SPContentDatabase.WriteFailedSiteInUserSyncQueue method
Records a failure to synchronize user information for a site collection.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Sub WriteFailedSiteInUserSyncQueue ( _
siteId As Guid, _
maxRetryCount As Integer, _
errorMessage As String _
)
'Usage
Dim instance As SPContentDatabase
Dim siteId As Guid
Dim maxRetryCount As Integer
Dim errorMessage As String
instance.WriteFailedSiteInUserSyncQueue(siteId, _
maxRetryCount, errorMessage)
public void WriteFailedSiteInUserSyncQueue(
Guid siteId,
int maxRetryCount,
string errorMessage
)
Parameters
siteId
Type: System.GuidThe GUID of a site collection.
maxRetryCount
Type: System.Int32The maximum number of retry attempts.
errorMessage
Type: System.StringThe message that is associated with the error.