Lenguaje

ReportingService2010.ListSchedules(String) Método

Definición

Devuelve una lista de todos los horarios compartidos en la base de datos del servidor de informes o para un sitio de SharePoint dado.

public:
 cli::array <ReportService2010::Schedule ^> ^ ListSchedules(System::String ^ SiteUrl);
[System.Web.Services.Protocols.SoapDocumentMethod("http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/ListSchedules", 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 ReportService2010.Schedule[] ListSchedules(string SiteUrl);
[<System.Web.Services.Protocols.SoapDocumentMethod("http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/ListSchedules", 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.ListSchedules : string -> ReportService2010.Schedule[]
Public Function ListSchedules (SiteUrl As String) As Schedule()

Parámetros

SiteUrl
String

La URL totalmente cualificada para el sitio de SharePoint.

Establece este parámetro en null (Nothing en Visual Basic) al invocar este método en modo nativo.

Devoluciones

Un array de Schedule objetos que representa todos los horarios compartidos en la base de datos del servidor de informes o para el sitio dado.

Atributos

Comentarios

La siguiente tabla muestra la información sobre cabeceras y permisos sobre esta operación.

Uso de la cabecera SOAP (En) TrustedUserHeaderValue

(Fuera) ServerInfoHeaderValue
Permisos requeridos en modo nativo ReadSchedules (sistema)
Permisos requeridos en el modo SharePoint <xref:Microsoft.SharePoint.SPBasePermissions.Open>

Este método genera una rsUnsupportedParameterForModeException excepción si se especifica un valor no nulo para el SiteUrl parámetro en modo nativo.

Si la base de datos del servidor de informes o el sitio de SharePoint no contiene horarios compartidos, se devuelve un array vacíoSchedule.

Se aplica a