Share via


AudienceManager.SGetADsProp Method

Gets a list of paths for the Microsoft Active Directory directory service that matches the specified parameters.

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

Syntax

'Declaration
Public Shared Function SGetADsProp ( _
    strFilter As String, _
    strProp As String, _
    <OutAttribute> ByRef rgstrDomain As String() _
) As ArrayList
'Usage
Dim strFilter As String
Dim strProp As String
Dim rgstrDomain As String()
Dim returnValue As ArrayList

returnValue = AudienceManager.SGetADsProp(strFilter, _
    strProp, rgstrDomain)
public static ArrayList SGetADsProp(
    string strFilter,
    string strProp,
    out string[] rgstrDomain
)

Parameters

  • strFilter
    Type: System.String
    Filter string used to search for Active Directory entries using a DirectorySearcher object.
  • strProp
    Type: System.String
    Property string used to retrieve data using a ResultPropertyValueCollection object.
  • rgstrDomain
    Type: []
    out parameter that contains a registered Windows NT domain.

Return Value

Type: System.Collections.ArrayList
System.Collections.ArrayList object that represents a list of Active Directory paths that matches the specified parameters.

Remarks

The SGetADsProp method is used internally to import data from Active Directory.

See Also

Reference

AudienceManager Class

AudienceManager Members

Microsoft.Office.Server.Audience Namespace