다음을 통해 공유


Alert 생성자 (JobServer, String)

Initializes a new instance of the Alert class on the specified instance of SQL Server Agent and with the specified name

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

구문

‘선언
Public Sub New ( _
    jobServer As JobServer, _
    name As String _
)
‘사용 방법
Dim jobServer As JobServer
Dim name As String

Dim instance As New Alert(jobServer, _
    name)
public Alert(
    JobServer jobServer,
    string name
)
public:
Alert(
    JobServer^ jobServer, 
    String^ name
)
new : 
        jobServer:JobServer * 
        name:string -> Alert
public function Alert(
    jobServer : JobServer, 
    name : String
)

매개 변수