Compartir a través de


EnumJobStepLogs Método (String)

Enumerates a list of job step log files for the job step with the specified name.

Espacio de nombres:  Microsoft.SqlServer.Management.Smo.Agent
Ensamblado:  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Sintaxis

'Declaración
Public Function EnumJobStepLogs ( _
    stepName As String _
) As DataTable
'Uso
Dim instance As Job
Dim stepName As String
Dim returnValue As DataTable

returnValue = instance.EnumJobStepLogs(stepName)
public DataTable EnumJobStepLogs(
    string stepName
)
public:
DataTable^ EnumJobStepLogs(
    String^ stepName
)
member EnumJobStepLogs : 
        stepName:string -> DataTable 
public function EnumJobStepLogs(
    stepName : String
) : DataTable

Parámetros

Valor devuelto

Tipo: System.Data. . :: . .DataTable
A DataTable object value that contains an enumerated list of all the job step log files for the job step with the specified name.

Notas

This method was introduced in SQL Server 2005.