TraceEventCollection.Find(TraceEventClass) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
返回具有指定 EventId 的 TraceEvent。
public Microsoft.AnalysisServices.TraceEvent Find (Microsoft.AnalysisServices.TraceEventClass eventId);
member this.Find : Microsoft.AnalysisServices.TraceEventClass -> Microsoft.AnalysisServices.TraceEvent
Public Function Find (eventId As TraceEventClass) As TraceEvent
参数
- eventId
- TraceEventClass
要返回的 TraceEvent 的 EventId。
返回
如果找到,则为具有指定 EventId 的 TraceEvent;否则为空引用(在 Visual Basic 中为 Nothing)。