TraceEventCollection 클래스

Contains a collection of TraceEvent objects. This class cannot be inherited.

상속 계층

System.Object
  Microsoft.AnalysisServices.TraceEventCollection

네임스페이스:  Microsoft.AnalysisServices
어셈블리:  Microsoft.AnalysisServices(Microsoft.AnalysisServices.dll)

구문

‘선언
<GuidAttribute("8294A436-B408-4594-A0D1-31B2C7F2904A")> _
Public NotInheritable Class TraceEventCollection _
    Implements ICollection, IEnumerable
‘사용 방법
Dim instance As TraceEventCollection
[GuidAttribute("8294A436-B408-4594-A0D1-31B2C7F2904A")]
public sealed class TraceEventCollection : ICollection, 
    IEnumerable
[GuidAttribute(L"8294A436-B408-4594-A0D1-31B2C7F2904A")]
public ref class TraceEventCollection sealed : ICollection, 
    IEnumerable
[<SealedAttribute>]
[<GuidAttribute("8294A436-B408-4594-A0D1-31B2C7F2904A")>]
type TraceEventCollection =  
    class 
        interface ICollection 
        interface IEnumerable 
    end
public final class TraceEventCollection implements ICollection, IEnumerable

TraceEventCollection 유형에서 다음 멤버를 표시합니다.

속성

  이름 설명
공용 속성 Count Gets the number of TraceEvent objects in the collection.
공용 속성 Item[Int32] Gets the TraceEvent at the specified index from the collection.
공용 속성 Item[TraceEventClass] Gets the TraceEvent that has the specified TraceEventClass value from the collection.

맨 위로 이동

메서드

  이름 설명
공용 메서드 Add(TraceEvent) Adds a TraceEvent to the end of the collection.
공용 메서드 Add(TraceEventClass) Creates and adds a TraceEvent, with the specified TraceEventClass value, to the end of the collection.
공용 메서드 Clear Removes all elements from the collection.
공용 메서드 Contains(TraceEvent) Indicates whether the collection contains a specified TraceEvent.
공용 메서드 Contains(TraceEventClass) Indicates whether the collection contains a TraceEvent that has the specified TraceEventClass value.
공용 메서드 Equals (Object에서 상속됨)
공용 메서드 Find Gets the TraceEvent that has the specified TraceEventClass value from the collection.
공용 메서드 GetHashCode (Object에서 상속됨)
공용 메서드 GetType (Object에서 상속됨)
공용 메서드 Remove(TraceEvent) Removes the specified TraceEvent from the collection.
공용 메서드 Remove(TraceEventClass) Removes the TraceEvent that has the specified TraceEventClass value from the collection.
공용 메서드 ToString (Object에서 상속됨)

맨 위로 이동

명시적 인터페이스 구현

  이름 설명
명시적 인터페이스 구현전용 메서드 ICollection.CopyTo Copies the elements of the collection to an array, starting at a particular array index.
명시적 인터페이스 구현전용 메서드 IEnumerable.GetEnumerator Returns an enumerator that iterates through a collection.
명시적 인터페이스 구현전용 속성 ICollection.IsSynchronized Gets a value that indicates whether access to the TraceEventCollection is synchronized.
명시적 인터페이스 구현전용 속성 ICollection.SyncRoot Gets an object that can be used to synchronize access to the TraceEventCollection.

맨 위로 이동

스레드 보안

이 유형의 모든 공용 static(Visual Basic에서는 Shared) 멤버는 스레드로부터 안전합니다. 인스턴스 멤버는 스레드로부터의 안전성이 보장되지 않습니다.

참고 항목

참조

Microsoft.AnalysisServices 네임스페이스