다음을 통해 공유


SetScheduleProperties 메서드

Sets the properties of a shared schedule.

네임스페이스:  ReportService2006
어셈블리:  ReportService2006.dll의 ReportService2006

구문

‘선언
<SoapHeaderAttribute("ServerInfoHeaderValue", Direction := SoapHeaderDirection.Out)> _
<SoapHeaderAttribute("TrustedUserHeaderValue")> _
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices/SetScheduleProperties", RequestNamespace := "https://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices",  _
    ResponseNamespace := "https://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices",  _
    Use := SoapBindingUse.Literal, ParameterStyle := SoapParameterStyle.Wrapped)> _
Public Sub SetScheduleProperties ( _
    Name As String, _
    ScheduleID As String, _
    ScheduleDefinition As ScheduleDefinition _
)
‘사용 방법
Dim instance As ReportingService2006
Dim Name As String
Dim ScheduleID As String
Dim ScheduleDefinition As ScheduleDefinition

instance.SetScheduleProperties(Name, _
    ScheduleID, ScheduleDefinition)
[SoapHeaderAttribute("ServerInfoHeaderValue", Direction = SoapHeaderDirection.Out)]
[SoapHeaderAttribute("TrustedUserHeaderValue")]
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices/SetScheduleProperties", RequestNamespace = "https://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices", 
    ResponseNamespace = "https://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices", 
    Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
public void SetScheduleProperties(
    string Name,
    string ScheduleID,
    ScheduleDefinition ScheduleDefinition
)
[SoapHeaderAttribute(L"ServerInfoHeaderValue", Direction = SoapHeaderDirection::Out)]
[SoapHeaderAttribute(L"TrustedUserHeaderValue")]
[SoapDocumentMethodAttribute(L"https://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices/SetScheduleProperties", RequestNamespace = L"https://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices", 
    ResponseNamespace = L"https://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices", 
    Use = SoapBindingUse::Literal, ParameterStyle = SoapParameterStyle::Wrapped)]
public:
void SetScheduleProperties(
    String^ Name, 
    String^ ScheduleID, 
    ScheduleDefinition^ ScheduleDefinition
)
[<SoapHeaderAttribute("ServerInfoHeaderValue", Direction = SoapHeaderDirection.Out)>]
[<SoapHeaderAttribute("TrustedUserHeaderValue")>]
[<SoapDocumentMethodAttribute("https://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices/SetScheduleProperties", RequestNamespace = "https://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices", 
    ResponseNamespace = "https://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices", 
    Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)>]
member SetScheduleProperties : 
        Name:string * 
        ScheduleID:string * 
        ScheduleDefinition:ScheduleDefinition -> unit 
public function SetScheduleProperties(
    Name : String, 
    ScheduleID : String, 
    ScheduleDefinition : ScheduleDefinition
)

매개 변수

주의

To remove a property from a shared schedule, set the property to null Nothing nullptr unit null 참조(Visual Basic에서는 Nothing) (Nothing in Visual Basic). Setting an empty value for a property that does not exist does not affect the schedule.

If you set the value of a property that already exists, the value is overwritten.

The SetScheduleProperties method does not stop execution of a scheduled operation when the method is invoked. If the schedule is updated during a scheduled run, changes are reflected in subsequent runs.

The MonthlyDOWRecurrence pattern is not supported in SharePoint integrated mode.