FindRetentionPolicyForCategory |
Scroll |
Returns the TheRetentionPolicy object for the specified (sub-)category.
Namespace: Therefore.API
Visual Basic Public Overridable Function FindRetentionPolicyForCategory ( _ nCtgryNo As Integer, _ nSubCtgryNo As Integer, _ pServer As ITheServer _ ) As TheRetentionPolicy C# public virtual TheRetentionPolicy FindRetentionPolicyForCategory ( int nCtgryNo, int nSubCtgryNo, ITheServer pServer )
Parameters nCtgryNo The ID of the category.
nSubCtgryNo The ID of the sub-category. If there is no sub-category or the retention policy set for the category is needed, set this parameter to 0.
pServer Valid and connected TheServer object.
Return Value The retention policy with the specified ID. NULL if no retention policy was found. |