Click to Rate and Give Feedback
MSDN
MSDN Library
Office Development
SDK Documentation
AudienceJob Class
AudienceJob Methods
 RunAudienceJob Method

  Switch on low bandwidth view
Community Content
In this section
Statistics Annotations (0)
AudienceJob.RunAudienceJob Method (Microsoft.Office.Server.Audience)
The main entry method to run audience jobs.

Namespace: Microsoft.Office.Server.Audience
Assembly: Microsoft.Office.Server (in microsoft.office.server.dll)
Visual Basic (Declaration)
Public Shared Function RunAudienceJob ( _
    args As String() _
) As Integer
Visual Basic (Usage)
Dim args As String()
Dim returnValue As Integer

returnValue = AudienceJob.RunAudienceJob(args)
C#
public static int RunAudienceJob (
    string[] args
)

Parameters

args

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

An AudienceJobReturnCode value indicating the status code.
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker