Metodo TraceEventCollection.Contains (TraceEvent)
Indicates whether the collection contains a specified TraceEvent.
Spazio dei nomi Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)
Sintassi
'Dichiarazione
Public Function Contains ( _
item As TraceEvent _
) As Boolean
'Utilizzo
Dim instance As TraceEventCollection
Dim item As TraceEvent
Dim returnValue As Boolean
returnValue = instance.Contains(item)
public bool Contains(
TraceEvent item
)
public:
bool Contains(
TraceEvent^ item
)
member Contains :
item:TraceEvent -> bool
public function Contains(
item : TraceEvent
) : boolean
Parametri
- item
Tipo: Microsoft.AnalysisServices.TraceEvent
The TraceEvent to locate.
Valore restituito
Tipo: System.Boolean
true if the TraceEvent exists in the collection; otherwise, false.