Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Gets the index of a specified Command.
Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)
Syntax
'Declaration
Public Function IndexOf ( _
item As Command _
) As Integer
'Usage
Dim instance As CommandCollection
Dim item As Command
Dim returnValue As Integer
returnValue = instance.IndexOf(item)
public int IndexOf(
Command item
)
public:
int IndexOf(
Command^ item
)
member IndexOf :
item:Command -> int
public function IndexOf(
item : Command
) : int
Parameters
- item
Type: Microsoft.AnalysisServices.Command
The Command to be returned.
Return Value
Type: System.Int32
The zero-based index of the Command if the object is found; otherwise, -1.