共用方式為


ExpirationDefinition Class

Represents the expiration setting for a cached report.

命名空間: Microsoft.WSSUX.ReportingServicesWebService.RSManagementService2005
組件: ReportService2005 (in reportingservice2005.dll)

語法

'宣告
<SerializableAttribute> _
<XmlTypeAttribute(Namespace:="https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices")> _
<XmlIncludeAttribute(GetType(TimeExpiration))> _
<XmlIncludeAttribute(GetType(ScheduleExpiration))> _
Public Class ExpirationDefinition
[SerializableAttribute] 
[XmlTypeAttribute(Namespace="https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices")] 
[XmlIncludeAttribute(typeof(TimeExpiration))] 
[XmlIncludeAttribute(typeof(ScheduleExpiration))] 
public class ExpirationDefinition
[SerializableAttribute] 
[XmlTypeAttribute(Namespace=L"https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices")] 
[XmlIncludeAttribute(typeof(TimeExpiration))] 
[XmlIncludeAttribute(typeof(ScheduleExpiration))] 
public ref class ExpirationDefinition
/** @attribute SerializableAttribute() */ 
/** @attribute XmlTypeAttribute(Namespace="https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices") */ 
/** @attribute XmlIncludeAttribute(Microsoft.WSSUX.ReportingServicesWebService.RSManagementService2005.TimeExpiration) */ 
/** @attribute XmlIncludeAttribute(Microsoft.WSSUX.ReportingServicesWebService.RSManagementService2005.ScheduleExpiration) */ 
public class ExpirationDefinition
SerializableAttribute 
XmlTypeAttribute(Namespace="https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices") 
XmlIncludeAttribute(Microsoft.WSSUX.ReportingServicesWebService.RSManagementService2005.TimeExpiration) 
XmlIncludeAttribute(Microsoft.WSSUX.ReportingServicesWebService.RSManagementService2005.ScheduleExpiration) 
public class ExpirationDefinition

備註

Methods of the ReportingService2005 class use objects that inherit ExpirationDefinition. The following table lists classes that implement ExpirationDefinition.

Class

Description

ScheduleExpiration

Represents a schedule that defines when a cached copy of a report expires.

TimeExpiration

Represents the time, in minutes, that defines when a cached copy of a report expires.

Inheritance Hierarchy

System.Object
  Microsoft.WSSUX.ReportingServicesWebService.RSManagementService2005.ExpirationDefinition
     Microsoft.WSSUX.ReportingServicesWebService.RSManagementService2005.ScheduleExpiration
     Microsoft.WSSUX.ReportingServicesWebService.RSManagementService2005.TimeExpiration

執行緒安全性

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

平台

開發平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

目標平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

請參閱

參考

ExpirationDefinition Members
Microsoft.WSSUX.ReportingServicesWebService.RSManagementService2005 Namespace