Sdílet prostřednictvím


Job.EnumJobStepLogs Method

Enumerates a list of job step log files for the referenced job.

Namespace:  Microsoft.SqlServer.Management.Smo.Agent
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
Public Function EnumJobStepLogs As DataTable
'Usage
Dim instance As Job
Dim returnValue As DataTable

returnValue = instance.EnumJobStepLogs()
public DataTable EnumJobStepLogs()
public:
DataTable^ EnumJobStepLogs()
member EnumJobStepLogs : unit -> DataTable 
public function EnumJobStepLogs() : DataTable

Return Value

Type: System.Data.DataTable
A DataTable object value that contains an enumerated list of all the job step log files.

Remarks

This method was introduced in SQL Server 2005.