PowerTools ActiveReports 9.0J Server ユーザーガイド
CreatePolicy メソッド

使用するセキュリティトークン。
ターゲットID。
ポリシーの名前。
ポリシーの種類:スケジュール、キャッシュなど。
関連した共有のポリシーテンプレートのID。
指定されたターゲットのためにポリシーを作成します。
構文
'宣言
 
Function CreatePolicy( _
   ByVal token As System.String, _
   ByVal targetId As System.String, _
   ByVal policyName As System.String, _
   ByVal policyType As PolicyType, _
   ByVal sharedPolicyTemplateId As System.String _
) As PolicyResult
PolicyResult CreatePolicy( 
   System.string token,
   System.string targetId,
   System.string policyName,
   PolicyType policyType,
   System.string sharedPolicyTemplateId
)

パラメータ

token
使用するセキュリティトークン。
targetId
ターゲットID。
policyName
ポリシーの名前。
policyType
ポリシーの種類:スケジュール、キャッシュなど。
sharedPolicyTemplateId
関連した共有のポリシーテンプレートのID。

戻り値の型

ポリシー。
参照

関連項目

IDesignerService インターフェース
IDesignerService メンバ