Share via


UserProfileConfigManager.SetDataSource Method

NOTE: This API is now obsolete.

Obsolete.

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

Syntax

'Declaration
<ObsoleteAttribute("Microsoft.SharePoint.Portal.UserProfiles.UserProfileConfigManager is obsolete; use class "Microsoft.Office.Server.UserProfiles.UserProfileConfigManager" instead")> _
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)
[ObsoleteAttribute("Microsoft.SharePoint.Portal.UserProfiles.UserProfileConfigManager is obsolete; use class "Microsoft.Office.Server.UserProfiles.UserProfileConfigManager" instead")]
public DataSource SetDataSource(
    DataSource.Options dsopt
)

Parameters

Return Value

Type: Microsoft.SharePoint.Portal.UserProfiles.DataSource

See Also

Reference

UserProfileConfigManager Class

UserProfileConfigManager Members

Microsoft.SharePoint.Portal.UserProfiles Namespace