다음을 통해 공유


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.dll의 Microsoft.SqlServer.Smo

구문

‘선언
<SfcPropertyAttribute> _
Public ReadOnly Property JobName As String
    Get
‘사용 방법
Dim instance As Alert
Dim value As String

value = instance.JobName
[SfcPropertyAttribute]
public string JobName { get; }
[SfcPropertyAttribute]
public:
property String^ JobName {
    String^ get ();
}
[<SfcPropertyAttribute>]
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.