SqlNotificationType 열거형

정의

OnChangeEventHandler 매개 변수를 통해 SqlNotificationEventArgs 이벤트 처리기에서 수신할 수 있는 다양한 알림 유형에 대해 설명합니다.

public enum class SqlNotificationType
public enum SqlNotificationType
type SqlNotificationType = 
Public Enum SqlNotificationType
상속
SqlNotificationType

필드

Name Description
Unknown -1

서버에서 보낸 형식 옵션이 클라이언트에서 인식되지 않을 때 사용됩니다.

Change 0

모니터링 중인 서버의 데이터가 변경되었습니다. SqlNotificationInfo 항목을 사용하여 변경 내용의 세부 정보를 확인합니다.

Subscribe 1

알림 구독을 만들지 못했습니다. SqlNotificationEventArgs 개체의 SqlNotificationInfo 항목을 사용하여 오류의 원인을 확인합니다.

설명

열거형은 SqlNotificationType 클래스의 인스턴스에서 참조됩니다 SqlNotificationEventArgs . 이 정보는 클래스와 함께 SqlDependency 알림 이벤트가 발생할 때 제공됩니다.

적용 대상

추가 정보