DataSource 类
Represents a data source.
继承层次结构
System. . :: . .Object
Microsoft.ReportingServices.RdlObjectModel. . :: . .ReportObjectBase
Microsoft.ReportingServices.RdlObjectModel. . :: . .ReportObject
Microsoft.ReportingServices.RdlObjectModel..::..DataSource
命名空间: Microsoft.ReportingServices.RdlObjectModel
程序集: Microsoft.ReportingServices.Designer.Controls(在 Microsoft.ReportingServices.Designer.Controls.dll 中)
语法
声明
Public Class DataSource _
Inherits ReportObject
用法
Dim instance As DataSource
public class DataSource : ReportObject
public ref class DataSource : public ReportObject
type DataSource =
class
inherit ReportObject
end
public class DataSource extends ReportObject
DataSource 类型公开以下成员。
构造函数
| 名称 | 说明 | |
|---|---|---|
![]() |
DataSource() () () () | Initializes a new instance of the DataSource class. |
![]() |
DataSource(IPropertyStore) | Initializes a new instance of the DataSource class. |
页首
属性
| 名称 | 说明 | |
|---|---|---|
![]() |
CachedCredentials | The cached credentials. |
![]() |
ConnectionProperties | The connection properties. |
![]() |
CredentialRetrievalEnum | The credential retrieval settings. |
![]() |
Credentials | 基础结构。 |
![]() |
DataSourceID | The data source ID. |
![]() |
DataSourceReference | The path to a shared data source. |
![]() |
ImpersonateUser | 基础结构。 |
![]() |
IsModel | 基础结构。 |
![]() |
IsReference | 基础结构。 |
![]() |
IsShared | 基础结构。 |
![]() |
Name | The data source name. |
![]() |
Parent | The parent of this report object. (从 ReportObjectBase 继承。) |
![]() |
PropertyStore | The property store. (从 ReportObjectBase 继承。) |
![]() |
ReportProject | 基础结构。 |
![]() |
SecurityType | The authentication method of the data source. |
![]() |
ShouldSaveCredentials | 基础结构。 |
![]() |
ShowHiddenDataSets | Indicates whether to show hidden data sets. |
![]() |
Site | 基础结构。 (从 ReportObject 继承。) |
![]() |
Transaction | Indicates whether the datasets that use this data source run in a single transaction. |
![]() |
WindowsCredentials | 基础结构。 |
页首
方法
| 名称 | 说明 | |
|---|---|---|
![]() |
DeepClone | 基础结构。 (覆盖 ReportObject. . :: . .DeepClone() () () ()。) |
![]() |
Equals | (从 Object 继承。) |
![]() |
Finalize | (从 Object 继承。) |
![]() |
GetAncestor< (Of < <' (T> ) > > ) | The ancestor of this report object. (从 ReportObject 继承。) |
![]() |
GetContainingDataScopes | The containing data scopes. (从 ReportObject 继承。) |
![]() |
GetDataScopesForDefaultImpl | 基础结构。 (从 ReportObject 继承。) |
![]() |
GetHashCode | (从 Object 继承。) |
![]() |
GetType | (从 Object 继承。) |
![]() |
Initialize | Initializes the current DataSource instance. (覆盖 ReportObject. . :: . .Initialize() () () ()。) |
![]() |
InitializeCredentialsFromStore | 基础结构。 |
![]() |
InitializeForDesigner | 基础结构。 (从 ReportObject 继承。) |
![]() |
MemberwiseClone | (从 Object 继承。) |
![]() |
OnChildPropertyChanged | 基础结构。 (从 ReportObject 继承。) |
![]() |
OnPropertyChanged | 基础结构。 (从 ReportObject 继承。) |
![]() |
SavePropertyValue< (Of < <' (T> ) > > ) | 基础结构。 (从 ReportObject 继承。) |
![]() |
ToString | (从 Object 继承。) |
![]() |
WrapPropertyStore | 基础结构。 (从 ReportObject 继承。) |
页首
显式接口实现
| 名称 | 说明 | |
|---|---|---|
![]() ![]() |
IDisposable. . :: . .Dispose | (从 ReportObject 继承。) |
![]() ![]() |
IComponent. . :: . .Disposed | (从 ReportObject 继承。) |
页首
线程安全
此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。
.gif)
.gif)
.gif)
.gif)
.gif)
.gif)