ReportingService2010.GetExecutionOptions Metodo
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Restituisce l'opzione di esecuzione e le impostazioni associate per un singolo elemento. Questo metodo si applica al tipo di Report oggetto.
public:
System::String ^ GetExecutionOptions(System::String ^ ItemPath, [Runtime::InteropServices::Out] ReportService2010::ScheduleDefinitionOrReference ^ % Item);
[System.Web.Services.Protocols.SoapDocumentMethod("http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/GetExecutionOptions", 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 string GetExecutionOptions(string ItemPath, out ReportService2010.ScheduleDefinitionOrReference Item);
[<System.Web.Services.Protocols.SoapDocumentMethod("http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/GetExecutionOptions", 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.GetExecutionOptions : string * ScheduleDefinitionOrReference -> string
Public Function GetExecutionOptions (ItemPath As String, ByRef Item As ScheduleDefinitionOrReference) As String
Parametri
- ItemPath
- String
L'URL completamente qualificato dell'elemento, incluso il nome del file e, in modalità SharePoint, l'estensione.
[fuori] Un ScheduleDefinitionOrReference oggetto che rappresenta una definizione di schedule o un riferimento a un schedule condiviso.
Valori restituiti
Un String valore che indica l'impostazione di esecuzione.
- Attributi
Commenti
La tabella sottostante mostra informazioni sull'intestazione e sui permessi di questa operazione.
| Utilizzo dell'intestazione SOAP | (Dentro) TrustedUserHeaderValue (Fuori) ServerInfoHeaderValue |
| Permessi richiesti per la modalità nativa | ReadPolicy |
| Permessi richiesti in modalità SharePoint | <xref:Microsoft.SharePoint.SPBasePermissions.ViewListItems> |
Questo metodo restituisce o un ScheduleDefinition oggetto o un ScheduleReference oggetto.
Se le opzioni di esecuzione per un elemento non contengono informazioni di programmazione, il parametro Item è un NoScheduleoggetto.