Anyone who has used CreateAbrProtectionGroup API to create a new protection group?
What are the arguments to be passed to this method? The API doc says the arguments include the moref to the protection folder and the name of the protection group.
However, I see the below error on specifying these arguments:
$pgmoref=$srmApi.Protection.CreateAbrProtectionGroup("Folder-group-v22", "Group02")
Cannot find an overload for "CreateAbrProtectionGroup" and the argument count:
"2".
At line:1 char:53
+ $pgmoref=$srmApi.Protection.CreateAbrProtectionGroup <<<< ("Folder-group-v22"
, "Group02")
+ CategoryInfo : NotSpecified: (:) [], MethodException
+ FullyQualifiedErrorId : MethodCountCouldNotFindBest