InvalidDataSourceReference Class
Represents a state in which a data source reference is no longer valid.
네임스페이스: Microsoft.WSSUX.ReportingServicesWebService.RSManagementService2005
어셈블리: ReportService2005 (in reportingservice2005.dll)
구문
‘선언
<SerializableAttribute> _
<XmlTypeAttribute(Namespace:="https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices")> _
Public Class InvalidDataSourceReference
Inherits DataSourceDefinitionOrReference
[SerializableAttribute]
[XmlTypeAttribute(Namespace="https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices")]
public class InvalidDataSourceReference : DataSourceDefinitionOrReference
[SerializableAttribute]
[XmlTypeAttribute(Namespace=L"https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices")]
public ref class InvalidDataSourceReference : public DataSourceDefinitionOrReference
/** @attribute SerializableAttribute() */
/** @attribute XmlTypeAttribute(Namespace="https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices") */
public class InvalidDataSourceReference extends DataSourceDefinitionOrReference
SerializableAttribute
XmlTypeAttribute(Namespace="https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices")
public class InvalidDataSourceReference extends DataSourceDefinitionOrReference
주의
An InvalidDataSourceReference object is used with the Item property as output by GetItemDataSources method.
In most cases, an InvalidDataSourceReference object is returned when a shared data source has been deleted.
To evaluate whether a data source reference is valid, use the is keyword in C# (TypeOf/Is in Visual Basic) to determine the type of object returned by the Item property of the DataSource class, as shown in the following C# code:
DataSource[] dataSource;
dataSource = service.GetReportDataSources( "/MyReport" );
foreach ( DataSource ds in dataSource )
{
if ( ds.Item is InvalidDataSourceReference )
{
// Code to handle a corrupt or missing data source reference goes here...
}
}
Inheritance Hierarchy
System.Object
Microsoft.WSSUX.ReportingServicesWebService.RSManagementService2005.DataSourceDefinitionOrReference
Microsoft.WSSUX.ReportingServicesWebService.RSManagementService2005.InvalidDataSourceReference
스레드 보안
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 설치를 위한 하드웨어 및 소프트웨어 요구 사항을 참조하십시오.
참고 항목
참조
InvalidDataSourceReference Members
Microsoft.WSSUX.ReportingServicesWebService.RSManagementService2005 Namespace