EnumJobStepLogs 方法 (Int32)
Enumerates a list of job step log files for the job step with the specified ID value.
命名空間: Microsoft.SqlServer.Management.Smo.Agent
組件: Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)
語法
'宣告
Public Function EnumJobStepLogs ( _
stepId As Integer _
) As DataTable
'用途
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
參數
- stepId
型別:System. . :: . .Int32
傳回值
型別: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.
備註
This method was introduced in SQL Server 2005.