ReportingService2010.GetExecutionOptions メソッド

個々のアイテムの実行オプションおよび関連付けられている設定を返します。 このメソッドは、アイテムの種類 Report に適用されます。

名前空間:  ReportService2010
アセンブリ:  ReportService2010 (ReportService2010.dll)

構文

'宣言
<SoapHeaderAttribute("ServerInfoHeaderValue", Direction := SoapHeaderDirection.Out)> _
<SoapHeaderAttribute("TrustedUserHeaderValue")> _
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/GetExecutionOptions", RequestNamespace := "https://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer",  _
    ResponseNamespace := "https://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer",  _
    Use := SoapBindingUse.Literal, ParameterStyle := SoapParameterStyle.Wrapped)> _
Public Function GetExecutionOptions ( _
    ItemPath As String, _
    <OutAttribute> ByRef Item As ScheduleDefinitionOrReference _
) As String
'使用
Dim instance As ReportingService2010 
Dim ItemPath As String 
Dim Item As ScheduleDefinitionOrReference 
Dim returnValue As String 

returnValue = instance.GetExecutionOptions(ItemPath, _
    Item)
[SoapHeaderAttribute("ServerInfoHeaderValue", Direction = SoapHeaderDirection.Out)]
[SoapHeaderAttribute("TrustedUserHeaderValue")]
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/GetExecutionOptions", RequestNamespace = "https://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer", 
    ResponseNamespace = "https://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer", 
    Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
public string GetExecutionOptions(
    string ItemPath,
    out ScheduleDefinitionOrReference Item
)
[SoapHeaderAttribute(L"ServerInfoHeaderValue", Direction = SoapHeaderDirection::Out)]
[SoapHeaderAttribute(L"TrustedUserHeaderValue")]
[SoapDocumentMethodAttribute(L"https://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/GetExecutionOptions", RequestNamespace = L"https://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer", 
    ResponseNamespace = L"https://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer", 
    Use = SoapBindingUse::Literal, ParameterStyle = SoapParameterStyle::Wrapped)]
public:
String^ GetExecutionOptions(
    String^ ItemPath, 
    [OutAttribute] ScheduleDefinitionOrReference^% Item
)
[<SoapHeaderAttribute("ServerInfoHeaderValue", Direction = SoapHeaderDirection.Out)>]
[<SoapHeaderAttribute("TrustedUserHeaderValue")>]
[<SoapDocumentMethodAttribute("https://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/GetExecutionOptions", RequestNamespace = "https://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer", 
    ResponseNamespace = "https://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer", 
    Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)>]
member GetExecutionOptions : 
        ItemPath:string * 
        Item:ScheduleDefinitionOrReference byref -> string
public function GetExecutionOptions(
    ItemPath : String, 
    Item : ScheduleDefinitionOrReference
) : String

パラメーター

  • ItemPath
    型: System.String
    ファイル名と拡張子 (SharePoint モードの場合) を含む、アイテムの完全修飾 URL です。

戻り値

型: System.String
実行設定を示す String 値です。

説明

次の表に、この操作に関連するヘッダーおよび権限の情報を示します。

SOAP ヘッダーの使用方法

(In) TrustedUserHeaderValue

(Out) ServerInfoHeaderValue

ネイティブ モードで必要な権限

ReadPolicy

SharePoint モードで必要な権限

ViewListItems

このメソッドは、ScheduleDefinition オブジェクトまたは ScheduleReference オブジェクトのどちらかを返します。

アイテムの実行オプションにスケジュール情報が含まれていない場合、Item パラメーターは NoSchedule オブジェクトとなります。

関連項目

参照

ReportingService2010 クラス

ReportService2010 名前空間