ActiveReports 8 Server SDK
CreatePolicy Method
The security token to use.
The target id.
Name of the policy.
Type of the policy: schedule, cache or so on.
Id of related shared policy template.
Creates a policy for the specified target.
Syntax

Parameters

token
The security token to use.
targetId
The target id.
policyName
Name of the policy.
policyType
Type of the policy: schedule, cache or so on.
sharedPolicyTemplateId
Id of related shared policy template.

Return Value

The policy.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

IDesignerService Interface
IDesignerService Members

Send Feedback