Share via


DataSource Class

Represents a data source that a user profile will be imported from.

Inheritance Hierarchy

System.Object
  Microsoft.Office.Server.UserProfiles.DataSource

Namespace:  Microsoft.Office.Server.UserProfiles
Assembly:  Microsoft.Office.Server (in Microsoft.Office.Server.dll)

Syntax

'Declaration
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel := True)> _
Public Class DataSource
'Usage
Dim instance As DataSource
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
public class DataSource

Remarks

If you make any changes to the DataSource object and call the Commit method, the import setting is identified as Custom, and the source shows Custom in the pages used to manage user profiles.

For more information about data sources and importing user profiles, see Importing User Profiles.

Thread Safety

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

See Also

Reference

DataSource Members

Microsoft.Office.Server.UserProfiles Namespace