ReportingService2010.SetScheduleProperties Yöntemi
Özelliklerini ayarlar bir paylaşılan zamanlama.
Ad Alanı: ReportService2010
Derleme: ReportService2010 (ReportService2010 içinde.dll)
Sözdizimi
'Bildirim
<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 _
)
'Kullanım
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
)
Parametreler
- Name
Tür: System.String
Zamanlama adı.
- ScheduleID
Tür: System.String
Zamanlama kimliği.
- ScheduleDefinition
Tür: ReportService2010.ScheduleDefinition
A ScheduleDefinition zamanlama özelliklerini tanımlayan ve değerler nesneyi küme.
Açıklamalar
Aşağıdaki tablo üstbilgi ve izinler bu işlemi gösterir.
soap üstbilgisi kullanımı |
(Giden)ServerInfoHeaderValue |
Yerel mod gerekli izinleri |
UpdateSchedules(Sistem) |
SharePoint modu gerekli izinleri |
ManageWeb() |
Bir özelliği kaldırmak için bir paylaşılan zamanlama, özelliğini ayarlamak nullnull başvuru (Visual Basic'te Nothing) (hiçbir şey Visual Basic).Var olmayan bir özellik için boş bir değer ayarlayarak zamanlamasını etkilemez.
Varsa, küme zaten bir özelliğinin değeri, üzerine yazılan değerdir.
SetScheduleProperties yöntem durmaz, zamanlanmış bir işlemi yürütme yöntem çağrıldığında.Zamanlanan çalışması sırasında zamanlama güncelleştirildiğinde değişiklikler sonraki çalışır yansıtılır.
MonthlyDOWRecurrence Desen desteklenmez SharePoint ile tümleşik mod.