다음을 통해 공유


ViewEventSet 클래스

The ViewEventSet object represents a set of view events.

상속 계층

System.Object
  Microsoft.SqlServer.Management.Smo.EventSetBase
    Microsoft.SqlServer.Management.Smo.ViewEventSet

네임스페이스:  Microsoft.SqlServer.Management.Smo
어셈블리:  Microsoft.SqlServer.Smo(Microsoft.SqlServer.Smo.dll)

구문

‘선언
Public NotInheritable Class ViewEventSet _
    Inherits EventSetBase
‘사용 방법
Dim instance As ViewEventSet
public sealed class ViewEventSet : EventSetBase
public ref class ViewEventSet sealed : public EventSetBase
[<SealedAttribute>]
type ViewEventSet =  
    class 
        inherit EventSetBase 
    end
public final class ViewEventSet extends EventSetBase

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

생성자

  이름 설명
공용 메서드 ViewEventSet() Initializes a new instance of the ViewEventSet class.
공용 메서드 ViewEventSet(ViewEvent) Initializes a new instance of the ViewEventSet class with a specified event.
공용 메서드 ViewEventSet(array<ViewEvent[]) Initializes a new instance of the ViewEventSet class with a specified set of events.
공용 메서드 ViewEventSet(ViewEventSet) Initializes a new instance of the ViewEventSet class with a specified set of events.

맨 위로 이동

속성

  이름 설명
공용 속성 AlterFulltextIndex Gets or sets a Boolean property value that specifies whether the event is included in the event set.
공용 속성 AlterIndex Gets or sets a Boolean value that specifies whether the AlterIndex event is included in the event set.
공용 속성 AlterView Gets or sets a Boolean property value that specifies whether the event that occurs when a view is altered is included in the event set.
공용 속성 CreateFulltextIndex Gets or sets a Boolean property value that specifies whether the event is included in the event set
공용 속성 CreateIndex Gets or sets a Boolean property value that specifies whether the event that occurs when an index is created is included in the event set.
공용 속성 CreateSpatialIndex Gets or sets a Boolean property value that specifies whether the event is included in the event set
공용 속성 CreateStatistics Gets or sets a Boolean property value that specifies whether the event that occurs when a statistics counter is created is included in the event set.
공용 속성 CreateXmlIndex Gets or sets a Boolean property value that specifies whether the event that occurs when an XML index is created and included in the event set.
공용 속성 DropFulltextIndex Gets or sets a Boolean property value that specifies whether the event is included in the event set
공용 속성 DropIndex Gets or sets a Boolean property value that specifies whether the event that occurs when an index is dropped is included in the event set.
공용 속성 DropStatistics Gets or sets a Boolean property value that specifies whether the event that occurs when a statistic counter is dropped is included in the event set.
공용 속성 DropView Gets or sets a Boolean property value that specifies whether the event that occurs when a view is dropped is included in the event set.
공용 속성 NumberOfElements Gets or sets a Boolean property value that specifies whether the event that occurs when the number of elements changes is included in the event set. (EventSetBase.NumberOfElements을(를) 재정의함)
보호된 속성 Storage Gets or sets the bit array for event set storage. (EventSetBase에서 상속됨)
공용 속성 UpdateStatistics Gets or sets a Boolean property value that specifies whether the event that occurs when statistics are updated is included in the event set.

맨 위로 이동

메서드

  이름 설명
공용 메서드 Add(ViewEvent) Adds a ViewEvent object to the ViewEventSet object.
공용 메서드정적 멤버 Add(ViewEventSet, ViewEvent) Adds an event to the event set.
공용 메서드 Copy Returns a copy of the event set. (EventSetBase.Copy()을(를) 재정의함)
공용 메서드 Equals (Object에서 상속됨)
공용 메서드 GetHashCode (Object에서 상속됨)
공용 메서드 GetType (Object에서 상속됨)
공용 메서드 Remove Removes an event from the event set.
공용 메서드정적 멤버 Subtract Removes a view event from the event set.
공용 메서드 ToString Returns a String that represents the ViewEventSet object. (Object.ToString()을(를) 재정의함)

맨 위로 이동

연산자

  이름 설명
공용 연산자정적 멤버 Addition Creates a view event set by performing an addition operation on a ViewEvent object and a ViewEventSet object.
공용 연산자정적 멤버 Subtraction Creates a view event set by performing a subtraction operation on a ViewEvent object and a ViewEventSet object.

맨 위로 이동

주의

SQL Server provides events subscription for all SMO objects that have server event support. The View object has event support for the events that are represented by ViewEventSet properties.

Thread Safety

이 유형의 모든 public static(Microsoft Visual Basic의 경우 공유) 멤버는 다중 스레드 작업을 수행하기에 안전합니다. 인스턴스 멤버는 스레드로부터의 안전성이 보장되지 않습니다.

SMO 이벤트 처리

스레드 보안

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

참고 항목

참조

Microsoft.SqlServer.Management.Smo 네임스페이스