TraceEventCollection.Contains 메서드 (TraceEventClass)
Indicates whether the collection contains a TraceEvent that has the specified TraceEventClass value.
네임스페이스: Microsoft.AnalysisServices
어셈블리: Microsoft.AnalysisServices(Microsoft.AnalysisServices.dll)
구문
‘선언
Public Function Contains ( _
eventId As TraceEventClass _
) As Boolean
‘사용 방법
Dim instance As TraceEventCollection
Dim eventId As TraceEventClass
Dim returnValue As Boolean
returnValue = instance.Contains(eventId)
public bool Contains(
TraceEventClass eventId
)
public:
bool Contains(
TraceEventClass eventId
)
member Contains :
eventId:TraceEventClass -> bool
public function Contains(
eventId : TraceEventClass
) : boolean
매개 변수
- eventId
유형: Microsoft.AnalysisServices.TraceEventClass
The TraceEventClass value of the TraceEvent to return.
반환 값
유형: System.Boolean
true if the TraceEvent exists in the collection; otherwise, false.