Méthode SetCacheRefreshPlanProperties
Définit les propriétés d'un plan d'actualisation du cache.
Espace de noms : ReportService2010
Assembly : ReportService2010 (en ReportService2010.dll)
Syntaxe
'Déclaration
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/SetCacheRefreshPlanProperties", 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 SetCacheRefreshPlanProperties ( _
CacheRefreshPlanID As String, _
Description As String, _
EventType As String, _
MatchData As String, _
Parameters As ParameterValue() _
)
'Utilisation
Dim instance As ReportingService2010
Dim CacheRefreshPlanID As String
Dim Description As String
Dim EventType As String
Dim MatchData As String
Dim Parameters As ParameterValue()
instance.SetCacheRefreshPlanProperties(CacheRefreshPlanID, _
Description, EventType, MatchData, _
Parameters)
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/SetCacheRefreshPlanProperties", 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 SetCacheRefreshPlanProperties(
string CacheRefreshPlanID,
string Description,
string EventType,
string MatchData,
ParameterValue[] Parameters
)
[SoapDocumentMethodAttribute(L"https://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/SetCacheRefreshPlanProperties", 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 SetCacheRefreshPlanProperties(
String^ CacheRefreshPlanID,
String^ Description,
String^ EventType,
String^ MatchData,
array<ParameterValue^>^ Parameters
)
[<SoapDocumentMethodAttribute("https://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/SetCacheRefreshPlanProperties", 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 SetCacheRefreshPlanProperties :
CacheRefreshPlanID:string *
Description:string *
EventType:string *
MatchData:string *
Parameters:ParameterValue[] -> unit
public function SetCacheRefreshPlanProperties(
CacheRefreshPlanID : String,
Description : String,
EventType : String,
MatchData : String,
Parameters : ParameterValue[]
)
Paramètres
- CacheRefreshPlanID
Type : System. . :: . .String
Identificateur unique du plan d'actualisation du cache.
- Description
Type : System. . :: . .String
Description du plan d'actualisation du cache. Si ce paramètre est une référence Null (Nothing en Visual Basic), la description existante du plan d'actualisation du cache n'est pas modifiée.
- EventType
Type : System. . :: . .String
Le type d'événement qui a déclenché l'actualisation du cache. La valeur valide est RefreshCache. Si ce paramètre est une référence Null (Nothing en Visual Basic), la valeur par défaut de RefreshCache est utilisée.
- MatchData
Type : System. . :: . .String
Données associées au paramètre EventType spécifié. Il doit s'agir d'un ScheduleDefinition sérialisé spécifique à l'élément dans ItemPath, ou de l'ID de planification d'une planification partagée.
Ce paramètre peut être une référence Null (Nothing en Visual Basic) uniquement si EventType est une référence Null. Si une référence Null est définie, les données existantes ne sont pas modifiées.
- Parameters
Type : array<ReportService2010. . :: . .ParameterValue> [] () [] []
Tableau d'objets ParameterValue qui contient une liste de paramètres pour l'élément pour lequel le plan d'actualisation du cache a été créé.
Ce paramètre peut être la valeur Null (Nothing en Visual Basic) si aucune modification de paramètre n'est prévue.
Notes
The table below shows header and permissions information on this operation.
SOAP Header Usage |
(Out) ServerInfoHeaderValue |
Native Mode Required Permissions |
|
SharePoint Mode Required Permissions |
EditListItems()()()() AND ViewListItems()()()() |
Voir aussi