Método CommandCollection.Contains
Indicates whether the collection contains a specified Command.
Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (em Microsoft.AnalysisServices.dll)
Sintaxe
'Declaração
Public Function Contains ( _
item As Command _
) As Boolean
'Uso
Dim instance As CommandCollection
Dim item As Command
Dim returnValue As Boolean
returnValue = instance.Contains(item)
public bool Contains(
Command item
)
public:
bool Contains(
Command^ item
)
member Contains :
item:Command -> bool
public function Contains(
item : Command
) : boolean
Parâmetros
- item
Tipo: Microsoft.AnalysisServices.Command
The Command to be located.
Valor de retorno
Tipo: System.Boolean
true if the Command is contained in the collection; otherwise, false.