Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Initializes a new instance of the Job class.
Namespace: Microsoft.SqlServer.Management.Smo.Agent
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
Public Sub New
'Usage
Dim instance As New Job()
public Job()
public:
Job()
new : unit -> Job
public function Job()
Remarks
The default constructor initializes any fields to their default values.
Examples
The following code example creates a new, default instance of the Job class.
C#
Job jb = new Job()
PowerShell
$jb = new-object Microsoft.SqlServer.Management.Smo.Agent.Job
See Also
Reference
Microsoft.SqlServer.Management.Smo.Agent Namespace
Other Resources
Automated Administration Tasks (SQL Server Agent)
Scheduling Automatic Administrative Tasks in SQL Server Agent