ImportStatus Class

The ImportStatus class contains a summary of the status of profile import operation. Use the GetImportStatus method of the UserProfileConfigManager object to instantiate the ImportStatus object.

System.Object

   Microsoft.SharePoint.Portal.UserProfiles.ImportStatus

Public Constructors

The following table shows the constructors of the ImportStatus class and a brief description of each.

Name Description
ImportStatus Initializes a new instance of the ImportStatus class.

Public Fields

The following table shows the fields of the ImportStatus class and a brief description of each.

Name Description
CrawlInProgressType Specifies the type of the current crawl used to import user profile data from Microsoft Active Directory directory service
CrawlStatus Specifies the status of the current crawl used to import user profile data from Microsoft Active Directory directory service
DBUserCount Specifies the number of user records in user profile database
LastCrawlAccessDenied Specifies the number of crawls that were denied when importing user profile data from Microsoft Active Directory directory service
LastCrawlExcluded Specifies the number of crawls that were excluded because of an exclusion rule when importing user profile data from Microsoft Active Directory directory service
LastCrawlNotFoundErrors Specifies the number of crawls that contained NotFound errors thrown when importing user profile data from Microsoft Active Directory directory service
LastCrawlOtherErrors Specifies the number of crawls that contained errors other than NotFound, AccessDenied, and Excluded errors thrown when importing user profile data from Microsoft Active Directory directory service
LastCrawlSeedStatus Specifies the error code for the last import of user profile data from Microsoft Active Directory directory service
LastCrawlSuccess Specifies the number of users that were successfully imported during the latest import of user profile data from Microsoft Active Directory directory service
LastCrawlTime Specifies the date and time of the last crawl used to gather user profile data from Microsoft Active Directory directory service
LastCrawlType Specifies the type of the current crawl to use to import user profile data from Microsoft Active Directory directory service
LastLogEntry Specifies the description for the error code in LastCrawlSeedStatus when gathering user profile data from Microsoft Active Directory directory service
LastStartCrawlTime Specifies the start date and time of the last crawl used to import user profile data from Microsoft Active Directory directory service

Example

The following code example shows the use of the ImportStatus class.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread safe.

Requirements

Namespace: Microsoft.SharePoint.Portal.UserProfiles

Platforms: Microsoft Windows Server 2003

Assembly: Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)

Security: Code Access Security