ActivateImport(Boolean) Method

The ActivateImport method of the UserProfileConfigManager class activates / deactivates the import feature. Use the ActivateImport method to enable or disable the import feature.

Parameters

enable   true if import is enabled; otherwise, false.

Exceptions

Exception Type Condition
ImportInProgressException An import is already in progress.

Remarks

All import settings are preserved from last deactivation.

Requirements

Platforms: Microsoft Windows Server 2003

Security: Code Access Security