Export (0) Print
Expand All

AudienceJob.RunAudienceJob method

The main entry method to run audience jobs.

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

public static int RunAudienceJob(
	string[] args
)

Parameters

args
Type: []

Takes the following four arguments:

  • ApplicationID

  • Flag: 1 = start, 0 = stop (required)

  • Flag: 1 = full, 0 = incremental (optional, default = 0

  • Audience name (optional; if null or not supplied, all audiences are run)

Return value

Type: System.Int32
An AudienceJobReturnCode value indicating the status code.
Show:
© 2015 Microsoft