CommandCollection.IndexOf Method

Gets the index of a specified Command.

Namespace:  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)

Syntax

C#
public int IndexOf(
    Command item
)

Parameters

Return Value

Type: System.Int32
The zero-based index of the Command if the object is found; otherwise, -1.

See Also

Reference

CommandCollection Class

Microsoft.AnalysisServices Namespace