Share via


DataSource.SetImportAccount Method

NOTE: This API is now obsolete.

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

Syntax

'Declaration
<ObsoleteAttribute("Microsoft.SharePoint.Portal.UserProfiles.DataSource.SetImportAccount is obsolete, please use Microsoft.Office.Server.DataSource.SetDefaultImportAccount instead.")> _
Public Sub SetImportAccount ( _
    UserID As String, _
    Password As String _
)
'Usage
Dim instance As DataSource
Dim UserID As String
Dim Password As String

instance.SetImportAccount(UserID, Password)
[ObsoleteAttribute("Microsoft.SharePoint.Portal.UserProfiles.DataSource.SetImportAccount is obsolete, please use Microsoft.Office.Server.DataSource.SetDefaultImportAccount instead.")]
public void SetImportAccount(
    string UserID,
    string Password
)

Parameters

See Also

Reference

DataSource Class

DataSource Members

Microsoft.SharePoint.Portal.UserProfiles Namespace