Metodo EnumJobStepLogs (String)
Enumerates a list of job step log files for the job step with the specified name.
Spazio dei nomi: Microsoft.SqlServer.Management.Smo.Agent
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Sintassi
'Dichiarazione
Public Function EnumJobStepLogs ( _
stepName As String _
) As DataTable
'Utilizzo
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
Parametri
- stepName
Tipo: System. . :: . .String
A String value that specifies the name of the job step.
Valore restituito
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.
Osservazioni
This method was introduced in SQL Server 2005.