DataSource.Item Property
Gets or sets the indexer for retrieving the domain controller defined within the data source for importing user profiles.
Namespace: Microsoft.Office.Server.UserProfiles
Assembly: Microsoft.Office.Server (in Microsoft.Office.Server.dll)
Syntax
'Declaration
Public Default Property Item ( _
strConnectionName As String _
) As Connection
Get
Set
'Usage
Dim instance As DataSource
Dim strConnectionName As String
Dim value As Connection
value = instance(strConnectionName)
instance(strConnectionName) = value
public Connection this[
string strConnectionName
] { get; set; }
Parameters
- strConnectionName
Type: System.String
Property Value
Type: Microsoft.Office.Server.UserProfiles.Connection
The domain name corresponding to a domain controller.
Remarks
For more information about the choice of domain controller for a data source from which you want to import the user profile, see DataSource.Options. For more information about data sources and importing user profiles, see Importing User Profiles.