Alert.JobName 속성
Gets or sets the name of the SQL Server Agent job that is run in response to the alert being raised.
네임스페이스: Microsoft.SqlServer.Management.Smo.Agent
어셈블리: Microsoft.SqlServer.Smo(Microsoft.SqlServer.Smo.dll)
구문
‘선언
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property JobName As String
Get
‘사용 방법
Dim instance As Alert
Dim value As String
value = instance.JobName
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public string JobName { get; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
property String^ JobName {
String^ get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
member JobName : string
function get JobName () : String
속성 값
유형: System.String
A String value that specifies the name of the job that is run in response to the raised alert.
예
SQL Server 에이전트에서 자동 관리 태스크 예약
참고 항목
참조
Microsoft.SqlServer.Management.Smo.Agent 네임스페이스