EnumJobStepLogs 方法 (String)
Enumerates a list of job step log files for the job step with the specified name.
命名空间: Microsoft.SqlServer.Management.Smo.Agent
程序集: Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)
语法
声明
Public Function EnumJobStepLogs ( _
stepName As String _
) As DataTable
用法
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
参数
- stepName
类型:System. . :: . .String
A String value that specifies the name of the job step.
返回值
类型: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.
注释
This method was introduced in SQL Server 2005.