次の方法で共有


CommandCollection.Add(Command) Method

Definition

Adds the specified Command to the end of the collection.

public int Add (Microsoft.AnalysisServices.Command item);
member this.Add : Microsoft.AnalysisServices.Command -> int
Public Function Add (item As Command) As Integer

Parameters

item
Command

The Command to be added.

Returns

The zero-based index at which the Command has been added to the collection.

Exceptions

The specified item is a null reference (Nothing in Visual Basic).

  • The specified item already esists in the collection.
  • The specified item represents an incompatible command.

Applies to