ActiveReports 9 Server
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
'Declaration
 
Function CreatePolicy( _
   ByVal token As String, _
   ByVal targetId As String, _
   ByVal policyName As String, _
   ByVal policyType As PolicyType, _
   ByVal sharedPolicyTemplateId As String _
) As PolicyResult
PolicyResult CreatePolicy( 
   string token,
   string targetId,
   string policyName,
   PolicyType policyType,
   string sharedPolicyTemplateId
)

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.
See Also

Reference

IDesignerService Interface
IDesignerService Members

 

 


Copyright © 2016 GrapeCity, inc. All rights reserved

Support Forum