Share via


AudienceManager.GetAudienceIDsFromText Method

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

Syntax

'Declaration
Public Shared Function GetAudienceIDsFromText ( _
    audienceTextRepresentation As String, _
    <OutAttribute> ByRef globalAudienceIDs As String(), _
    <OutAttribute> ByRef dlDistinguishedNames As String(), _
    <OutAttribute> ByRef sharePointGroupNames As String() _
) As Integer
'Usage
Dim audienceTextRepresentation As String
Dim globalAudienceIDs As String()
Dim dlDistinguishedNames As String()
Dim sharePointGroupNames As String()
Dim returnValue As Integer

returnValue = AudienceManager.GetAudienceIDsFromText(audienceTextRepresentation, _
    globalAudienceIDs, dlDistinguishedNames, _
    sharePointGroupNames)
public static int GetAudienceIDsFromText(
    string audienceTextRepresentation,
    out string[] globalAudienceIDs,
    out string[] dlDistinguishedNames,
    out string[] sharePointGroupNames
)

Parameters

  • globalAudienceIDs
    Type: []
    ..
  • dlDistinguishedNames
    Type: []
    ..
  • sharePointGroupNames
    Type: []

Return Value

Type: System.Int32

See Also

Reference

AudienceManager Class

AudienceManager Members

Microsoft.Office.Server.Audience Namespace