ReportingService2010.SetScheduleProperties Método

Definición

Establece las propiedades de una programación compartida.

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)

Parámetros

Name
String

Nombre de la programación.

ScheduleID
String

Identificador de la programación.

ScheduleDefinition
ScheduleDefinition

Objeto ScheduleDefinition que define las propiedades de programación y los valores que se establecerán.

Atributos

Comentarios

En la siguiente tabla se muestra la información de encabezado y de permisos de esta operación.

Uso del encabezado SOAP (In) TrustedUserHeaderValue

(Out) ServerInfoHeaderValue
Permisos necesarios en modo nativo UpdateSchedules (Sistema)
Permisos necesarios en modo de SharePoint <xref:Microsoft.SharePoint.SPBasePermissions.ManageWeb>

Para quitar una propiedad de una programación compartida, establezca la propiedad null en (Nothing en Visual Basic). Establecer un valor vacío para una propiedad que no existe no afecta a la programación.

Si establece el valor de una propiedad que ya existe, el valor se sobrescribe.

El método no detiene la SetScheduleProperties ejecución de una operación programada cuando se invoca el método . Si la programación se actualiza durante una ejecución programada, los cambios se reflejan en ejecuciones posteriores.

El MonthlyDOWRecurrence patrón no se admite en el modo integrado de SharePoint.

Se aplica a