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입니다.
- Item
유형: ReportService2010. . :: . .ScheduleDefinitionOrReference%
[out] 공유 일정에 대한 일정 정의 또는 참조를 나타내는 ScheduleDefinitionOrReference 개체입니다.
반환 값
유형: System. . :: . .String
실행 설정을 나타내는 String 값입니다.
주의
The table below shows header and permissions information on this operation.
SOAP Header Usage |
(Out) ServerInfoHeaderValue |
Native Mode Required Permissions |
|
SharePoint Mode Required Permissions |
ViewListItems()()()() |
This method returns either a ScheduleDefinition object or a ScheduleReference object.
If the execution options for an item do not contain schedule information, the Item parameter is a NoSchedule object.