## Command.CannotBeUsedInBatch

### Description

Returns a Boolean value indicating whether this command an be used in batch mode (false) or not (true. This property is a shortcut for Command.GetFlag.
Note: This property is read-only.

### C# Syntax

    // get accessor
    Boolean rtn = Command.CannotBeUsedInBatch;

### Examples

#### JScript Example

    /*
            See if a command can be used in batch mode.
    */
    var oCmd = Commands.Item("Apply Operator");
    if ( true == oCmd.CannotBeUsedInBatch )
    {
            LogMessage(oCmd.Name + " cannot be used in batch mode.");
    }
    else
    {
            LogMessage(oCmd.Name + " can be used in batch mode.");
    }

### See Also

Command.GetFlag Command.SetFlag