Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The main entry method to run audience jobs.
Namespace: Microsoft.Office.Server.Audience
Assembly: Microsoft.Office.Server.UserProfiles (in Microsoft.Office.Server.UserProfiles.dll)
'Declaration
Public Shared Function RunAudienceJob ( _
args As String() _
) As Integer
'Usage
Dim args As String()
Dim returnValue As Integer
returnValue = AudienceJob.RunAudienceJob(args)
public static int RunAudienceJob(
string[] args
)
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)
Type: System.Int32
An AudienceJobReturnCode value indicating the status code.