Metodo SetScheduleProperties
Imposta le proprietà di una pianificazione condivisa.
Spazio dei nomi ReportService2005
Assembly: ReportService2005 (in ReportService2005.dll)
Sintassi
'Dichiarazione
<SoapHeaderAttribute("BatchHeaderValue")> _
<SoapHeaderAttribute("ServerInfoHeaderValue", Direction := SoapHeaderDirection.Out)> _
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices/SetScheduleProperties", RequestNamespace := "https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices", _
ResponseNamespace := "https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices", _
Use := SoapBindingUse.Literal, ParameterStyle := SoapParameterStyle.Wrapped)> _
Public Sub SetScheduleProperties ( _
Name As String, _
ScheduleID As String, _
ScheduleDefinition As ScheduleDefinition _
)
'Utilizzo
Dim instance As ReportingService2005
Dim Name As String
Dim ScheduleID As String
Dim ScheduleDefinition As ScheduleDefinition
instance.SetScheduleProperties(Name, _
ScheduleID, ScheduleDefinition)
[SoapHeaderAttribute("BatchHeaderValue")]
[SoapHeaderAttribute("ServerInfoHeaderValue", Direction = SoapHeaderDirection.Out)]
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices/SetScheduleProperties", RequestNamespace = "https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices",
ResponseNamespace = "https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices",
Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
public void SetScheduleProperties(
string Name,
string ScheduleID,
ScheduleDefinition ScheduleDefinition
)
[SoapHeaderAttribute(L"BatchHeaderValue")]
[SoapHeaderAttribute(L"ServerInfoHeaderValue", Direction = SoapHeaderDirection::Out)]
[SoapDocumentMethodAttribute(L"https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices/SetScheduleProperties", RequestNamespace = L"https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices",
ResponseNamespace = L"https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices",
Use = SoapBindingUse::Literal, ParameterStyle = SoapParameterStyle::Wrapped)]
public:
void SetScheduleProperties(
String^ Name,
String^ ScheduleID,
ScheduleDefinition^ ScheduleDefinition
)
[<SoapHeaderAttribute("BatchHeaderValue")>]
[<SoapHeaderAttribute("ServerInfoHeaderValue", Direction = SoapHeaderDirection.Out)>]
[<SoapDocumentMethodAttribute("https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices/SetScheduleProperties", RequestNamespace = "https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices",
ResponseNamespace = "https://schemas.microsoft.com/sqlserver/2005/06/30/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
)
Parametri
- Name
Tipo: System. . :: . .String
Nome della pianificazione.
- ScheduleID
Tipo: System. . :: . .String
ID della pianificazione.
- ScheduleDefinition
Tipo: ReportService2005. . :: . .ScheduleDefinition
Oggetto ScheduleDefinition che definisce le proprietà e i valori da impostare per la pianificazione.
Osservazioni
The table below shows header and permissions information on this operation.
SOAP Headers |
(In) BatchHeaderValue (Out) ServerInfoHeaderValue |
Required Permissions |
UpdateSchedules (System) |
To remove a property from a shared schedule, set the property to null Nothing nullptr unit riferimento Null (Nothing in Visual Basic). (Nothing in Visual Basic). Setting an empty value for a property that does not exist has no effect on 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.