AddRestriction Method
Adds a restriction, which blocks the command. This function should only be called during the GetRestrictions event.
Syntax
public void AddRestriction(
ExtensionRestriction restriction
)Public Sub AddRestriction( _
ByVal restriction As ExtensionRestriction _
) Parameters
| Name | Description |
|---|---|
| restriction | The reason that the command cannot run. |