JobOperationsExtensions.Suspend 方法 (IJobOperations, String, Guid)
挂起作业由作业 Id 标识。 (请参阅 https://aka.ms/azureautomationsdk/joboperations 有关详细信息)
命名空间: Microsoft.WindowsAzure.Management.Automation
程序集: Microsoft.WindowsAzure.Management.Automation(Microsoft.WindowsAzure.Management.Automation.dll 中)
语法
public static AzureOperationResponse Suspend(
this IJobOperations operations,
string automationAccount,
Guid jobId
)
public:
[ExtensionAttribute]
static AzureOperationResponse^ Suspend(
IJobOperations^ operations,
String^ automationAccount,
Guid jobId
)
static member Suspend :
operations:IJobOperations *
automationAccount:string *
jobId:Guid -> AzureOperationResponse
<ExtensionAttribute>
Public Shared Function Suspend (
operations As IJobOperations,
automationAccount As String,
jobId As Guid
) As AzureOperationResponse
参数
operations
Type: Microsoft.WindowsAzure.Management.Automation.IJobOperations对 Microsoft.WindowsAzure.Management.Automation.IJobOperations 引用。
automationAccount
Type: System.String必需。 自动管理帐户名称。
jobId
Type: System.Guid必需。 作业 id。
返回值
Type: Microsoft.Azure.AzureOperationResponse
标准服务响应,包括 HTTP 状态代码和请求 ID。
请参阅
JobOperationsExtensions 类
Microsoft.WindowsAzure.Management.Automation 命名空间
返回页首