UserProfileConfigManager.SetDataSource Method
Sets the DataSource object with options.
Namespace: Microsoft.Office.Server.UserProfiles
Assembly: Microsoft.Office.Server (in Microsoft.Office.Server.dll)
Syntax
'Declaration
Public Function SetDataSource ( _
dsopt As DataSource.Options _
) As DataSource
'Usage
Dim instance As UserProfileConfigManager
Dim dsopt As DataSource.Options
Dim returnValue As DataSource
returnValue = instance.SetDataSource(dsopt)
public DataSource SetDataSource(
DataSource.Options dsopt
)
Parameters
- dsopt
Type: Microsoft.Office.Server.UserProfiles.DataSource.Options
One of the Options enumerations that identify the options for the data source of this user profile.
Return Value
Type: Microsoft.Office.Server.UserProfiles.DataSource
The DataSource object that represents the source for this user profile.
See Also
Reference
UserProfileConfigManager Class