Partager via


EnumJobStepLogs méthode (Int32)

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

Espace de noms :  Microsoft.SqlServer.Management.Smo.Agent
Assembly :  Microsoft.SqlServer.Smo (dans Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
Public Function EnumJobStepLogs ( _
    stepId As Integer _
) As DataTable
'Utilisation
Dim instance As Job
Dim stepId As Integer
Dim returnValue As DataTable

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

Paramètres

Valeur de retour

Type : 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 ID value.

Notes

This method was introduced in SQL Server 2005.