'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.