다음을 통해 공유


AlertSystem.ForwardingSeverity Property

Gets or sets the minimum severity level of error event that is to be forwarded to another instance of Microsoft SQL Server.

네임스페이스: Microsoft.SqlServer.Management.Smo.Agent
어셈블리: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

구문

‘선언
Public Property ForwardingSeverity As Integer
public int ForwardingSeverity { get; set; }
public:
property int ForwardingSeverity {
    int get ();
    void set (int value);
}
/** @property */
public int get_ForwardingSeverity ()

/** @property */
public void set_ForwardingSeverity (int value)
public function get ForwardingSeverity () : int

public function set ForwardingSeverity (value : int)

속성 값

An Int32 value that specifies the minimum severity level for event forwarding.

주의

SQL Server Agent can be configured to forward events to another server running SQL Server. The ForwardingSeverity property is one mechanism used to control the events forwarded.

Set ForwardingSeverityto restrict event forwarding to those events generated by errors with a severity greater than or equal to the property value. Event forwarding can be further restricted using the IsForwardedAlways property.

This namespace, class, or member is supported only in version 2.0 of the .NET Framework.

How to: Create an Alert in Visual Basic .NET

스레드 보안

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

플랫폼

개발 플랫폼

지원되는 플랫폼 목록은 SQL Server 2005 설치를 위한 하드웨어 및 소프트웨어 요구 사항을 참조하십시오.

대상 플랫폼

지원되는 플랫폼 목록은 SQL Server 2005 설치를 위한 하드웨어 및 소프트웨어 요구 사항을 참조하십시오.

참고 항목

참조

AlertSystem Class
AlertSystem Members
Microsoft.SqlServer.Management.Smo.Agent Namespace

관련 자료

Scheduling Automatic Administrative Tasks in SQL Server Agent
관리 작업 자동화(SQL Server 에이전트)
sp_add_alert(Transact-SQL)