Share via


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.Guid

    The GUID of a site collection.

  • maxRetryCount
    Type: System.Int32

    The maximum number of retry attempts.

  • errorMessage
    Type: System.String

    The message that is associated with the error.

See also

Reference

SPContentDatabase class

SPContentDatabase members

Microsoft.SharePoint.Administration namespace