SetScheduleProperties メソッド

共有スケジュールのプロパティを設定します。

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

構文

'宣言
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/SetScheduleProperties", 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)> _
<SoapHeaderAttribute("ServerInfoHeaderValue", Direction := SoapHeaderDirection.Out)> _
<SoapHeaderAttribute("TrustedUserHeaderValue")> _
Public Sub SetScheduleProperties ( _
    Name As String, _
    ScheduleID As String, _
    ScheduleDefinition As ScheduleDefinition _
)
'使用
Dim instance As ReportingService2010
Dim Name As String
Dim ScheduleID As String
Dim ScheduleDefinition As ScheduleDefinition

instance.SetScheduleProperties(Name, _
    ScheduleID, ScheduleDefinition)
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/SetScheduleProperties", 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)]
[SoapHeaderAttribute("ServerInfoHeaderValue", Direction = SoapHeaderDirection.Out)]
[SoapHeaderAttribute("TrustedUserHeaderValue")]
public void SetScheduleProperties(
    string Name,
    string ScheduleID,
    ScheduleDefinition ScheduleDefinition
)
[SoapDocumentMethodAttribute(L"https://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/SetScheduleProperties", 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)]
[SoapHeaderAttribute(L"ServerInfoHeaderValue", Direction = SoapHeaderDirection::Out)]
[SoapHeaderAttribute(L"TrustedUserHeaderValue")]
public:
void SetScheduleProperties(
    String^ Name, 
    String^ ScheduleID, 
    ScheduleDefinition^ ScheduleDefinition
)
[<SoapDocumentMethodAttribute("https://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/SetScheduleProperties", 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)>]
[<SoapHeaderAttribute("ServerInfoHeaderValue", Direction = SoapHeaderDirection.Out)>]
[<SoapHeaderAttribute("TrustedUserHeaderValue")>]
member SetScheduleProperties : 
        Name:string * 
        ScheduleID:string * 
        ScheduleDefinition:ScheduleDefinition -> unit 
public function SetScheduleProperties(
    Name : String, 
    ScheduleID : String, 
    ScheduleDefinition : ScheduleDefinition
)

パラメーター

説明

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

SOAP ヘッダーの使用方法

(In) TrustedUserHeaderValue

(Out) ServerInfoHeaderValue

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

UpdateSchedules (システム)

SharePoint モードで必要な権限

ManageWeb()()()()

共有スケジュールからプロパティを削除するには、そのプロパティを NULL (Visual Basic では Nothing) に設定します。存在しないプロパティに空の値を設定しても、スケジュールには影響がありません。

既に存在するプロパティに値を設定すると、値が上書きされます。

SetScheduleProperties メソッドを呼び出しても、定期的な操作の実行は停止されません。定期的な実行の最中にスケジュールを更新すると、変更内容は次回の実行から反映されます。

MonthlyDOWRecurrence パターンは、SharePoint 統合モードではサポートされていません。