Share via


ReportingService2010.GetExecutionOptions Metodo

Definizione

Restituisce l'opzione di esecuzione e le impostazioni associate per un singolo elemento. Questo metodo si applica al tipo di elemento Report.

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

URL completo dell'elemento, inclusi il nome file e, in modalità SharePoint, l'estensione.

Item
ScheduleDefinitionOrReference

[out] Oggetto ScheduleDefinitionOrReference che rappresenta la definizione di una pianificazione o un riferimento a una pianificazione condivisa.

Restituisce

Valore String che indica l'impostazione per l'esecuzione.

Attributi

Commenti

Nella tabella seguente vengono mostrate le informazioni sull'intestazione e sulle autorizzazioni relative a questa operazione.

Utilizzo intestazione SOAP (In) TrustedUserHeaderValue

(Out) ServerInfoHeaderValue
Autorizzazioni necessarie per la modalità nativa ReadPolicy
Autorizzazioni necessarie per la modalità SharePoint <xref:Microsoft.SharePoint.SPBasePermissions.ViewListItems>

Questo metodo restituisce un ScheduleDefinition oggetto o un ScheduleReference oggetto .

Se le opzioni di esecuzione per un elemento non contengono informazioni sulla pianificazione, il Item parametro è un NoScheduleoggetto .

Si applica a