AudienceManager.GetAudienceIDsFromText(String, String[], String[], String[]) AudienceManager.GetAudienceIDsFromText(String, String[], String[], String[]) AudienceManager.GetAudienceIDsFromText(String, String[], String[], String[]) Method

Definition

Counts the number of Audience object identifiers in a delimited string and loads the parsed identifiers in string Arrays.

public:
 static int GetAudienceIDsFromText(System::String ^ audienceTextRepresentation, [Runtime::InteropServices::Out] cli::array <System::String ^> ^ % globalAudienceIDs, [Runtime::InteropServices::Out] cli::array <System::String ^> ^ % dlDistinguishedNames, [Runtime::InteropServices::Out] cli::array <System::String ^> ^ % sharePointGroupNames);
public static int GetAudienceIDsFromText (string audienceTextRepresentation, out string[] globalAudienceIDs, out string[] dlDistinguishedNames, out string[] sharePointGroupNames);
Public Shared Function GetAudienceIDsFromText (audienceTextRepresentation As String, ByRef globalAudienceIDs As String(), ByRef dlDistinguishedNames As String(), ByRef sharePointGroupNames As String()) As Integer
Parameters
audienceTextRepresentation
String String String

A string containing Audience object identifiers in the format of the Return Value of the GetAudienceIDsAsText method of the AudienceManager object.

globalAudienceIDs
String[]

A reference to a string Array for Global Audience types.

dlDistinguishedNames
String[]

A reference to a string Array for Audience objects defined by Distribution Lists.

sharePointGroupNames
String[]
Returns

An Int32 value that equals the total number of Audience identifiers in the specified string.

Remarks

If string array references are provided, those arrays will be populated with the parsed Audience identifiers corresponding to the signature parameter names.

Applies to