UserProfileConfigManager.ActivateImport Method
Activates or deactivates the import feature.
Namespace: Microsoft.Office.Server.UserProfiles
Assembly: Microsoft.Office.Server (in Microsoft.Office.Server.dll)
Syntax
'Declaration
Public Sub ActivateImport ( _
enable As Boolean _
)
'Usage
Dim instance As UserProfileConfigManager
Dim enable As Boolean
instance.ActivateImport(enable)
public void ActivateImport(
bool enable
)
Parameters
- enable
Type: System.Boolean
If enable import, set it to true; otherwise, set it to false.
Remarks
Use the ActivateImport method to enable or disable the import feature.
All import settings are preserved from the last deactivation.
See Also
Reference
UserProfileConfigManager Class