ReportingService2010.SetScheduleProperties 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
设置共享计划的属性。
public:
void SetScheduleProperties(System::String ^ Name, System::String ^ ScheduleID, ReportService2010::ScheduleDefinition ^ ScheduleDefinition);
[System.Web.Services.Protocols.SoapDocumentMethod("http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/SetScheduleProperties", ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped, RequestNamespace="http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer", ResponseNamespace="http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer", Use=System.Web.Services.Description.SoapBindingUse.Literal)]
[System.Web.Services.Protocols.SoapHeader("ServerInfoHeaderValue", Direction=System.Web.Services.Protocols.SoapHeaderDirection.Out)]
[System.Web.Services.Protocols.SoapHeader("TrustedUserHeaderValue")]
public void SetScheduleProperties (string Name, string ScheduleID, ReportService2010.ScheduleDefinition ScheduleDefinition);
[<System.Web.Services.Protocols.SoapDocumentMethod("http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/SetScheduleProperties", ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped, RequestNamespace="http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer", ResponseNamespace="http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer", Use=System.Web.Services.Description.SoapBindingUse.Literal)>]
[<System.Web.Services.Protocols.SoapHeader("ServerInfoHeaderValue", Direction=System.Web.Services.Protocols.SoapHeaderDirection.Out)>]
[<System.Web.Services.Protocols.SoapHeader("TrustedUserHeaderValue")>]
member this.SetScheduleProperties : string * string * ReportService2010.ScheduleDefinition -> unit
Public Sub SetScheduleProperties (Name As String, ScheduleID As String, ScheduleDefinition As ScheduleDefinition)
参数
- Name
- String
计划的名称。
- ScheduleID
- String
计划 ID。
- ScheduleDefinition
- ScheduleDefinition
一个 ScheduleDefinition 对象,该对象定义要设置的计划属性和值。
- 属性
注解
下表显示了有关此操作的标头和权限信息。
SOAP 标头用法 | (In) TrustedUserHeaderValue (Out) ServerInfoHeaderValue |
本机模式所需的权限 | UpdateSchedules (系统) |
SharePoint 模式所需权限 | <xref:Microsoft.SharePoint.SPBasePermissions.ManageWeb> |
若要从共享计划中删除属性,请在 Visual Basic) Nothing
中将 属性设置为 null
(。 为不存在的属性设置空值不会影响计划。
如果设置已存在的属性的值,则会覆盖该值。
调用 方法时,方法 SetScheduleProperties 不会停止计划操作的执行。 如果在计划的运行期间更新了计划,则更改将反映在后续运行中。
MonthlyDOWRecurrence SharePoint 集成模式不支持该模式。