Share via


JobStep.EnumLogs Method

Returns an enumerated list of the job step log files.

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

Syntax

'Declaration
Public Function EnumLogs As DataTable
'Usage
Dim instance As JobStep 
Dim returnValue As DataTable 

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

Return Value

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

Remarks

This method was introduced in SQL Server 2005.

Examples

Scheduling Automatic Administrative Tasks in SQL Server Agent

See Also

Reference

JobStep Class

Microsoft.SqlServer.Management.Smo.Agent Namespace

Other Resources

Automated Administration Tasks (SQL Server Agent)

sp_help_jobstep (Transact-SQL)