NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

ICodeGroup.RemoveChild

Removes the specified child code group.

[Visual Basic]
Sub RemoveChild( _
   ByVal group As ICodeGroup _
)
[C#]
void RemoveChild(
   ICodeGroup group
);
[C++]
void RemoveChild(
   ICodeGroup* group
) = 0;
[JScript]
function RemoveChild(
   group : ICodeGroup
);

Parameters

group
Code group to be removed from children.

Exceptions

Exception Type Condition
ArgumentException if group is not an immediate child code group.

Remarks

Only immediate child code groups may be removed with this method, not child code groups of children and so forth.

See Also

ICodeGroup Interface | ICodeGroup Members | System.Security.Policy Namespace