DataSourceCredentials Class
Represents a set of data source credentials.
Inheritance Hierarchy
System.Object
Microsoft.ReportingServices.RdlObjectModel.ReportObjectBase
Microsoft.ReportingServices.RdlObjectModel.ReportObject
Microsoft.ReportingServices.RdlObjectModel.DataSourceCredentials
Namespace: Microsoft.ReportingServices.RdlObjectModel
Assembly: Microsoft.ReportingServices.Designer.Controls (in Microsoft.ReportingServices.Designer.Controls.dll)
Syntax
'Declaration
<SerializableAttribute> _
Public NotInheritable Class DataSourceCredentials _
Inherits ReportObject
'Usage
Dim instance As DataSourceCredentials
[SerializableAttribute]
public sealed class DataSourceCredentials : ReportObject
[SerializableAttribute]
public ref class DataSourceCredentials sealed : public ReportObject
[<SealedAttribute>]
[<SerializableAttribute>]
type DataSourceCredentials =
class
inherit ReportObject
end
public final class DataSourceCredentials extends ReportObject
The DataSourceCredentials type exposes the following members.
Constructors
Name | Description | |
---|---|---|
DataSourceCredentials() | Infrastructure. Initializes a new instance of the DataSourceCredentials class. | |
DataSourceCredentials(String, String) | Infrastructure. Initializes a new instance of the DataSourceCredentials class using the specified user name and password. |
Top
Properties
Name | Description | |
---|---|---|
ComponentMetadata | Gets or sets the component metadata. (Inherited from ReportObject.) | |
EncryptedPassword | Infrastructure. Gets or sets the encrypted password of the data source. | |
EncryptedUserName | Infrastructure. Gets or sets the encrypted user name of the data source. | |
Parent | The parent of this report object. (Inherited from ReportObjectBase.) | |
Password | Infrastructure. Gets or sets the password of the data source. | |
Site | Infrastructure. Gets or sets the site associated with the ReportObject object. (Inherited from ReportObject.) | |
UserName | Infrastructure. Gets or sets the user name of the data source. |
Top
Methods
Name | Description | |
---|---|---|
CreateFromCiphertext | Infrastructure. Creates a DataSourceCredentials object from a cipher text. | |
DeepClone | Infrastructure. Returns a deep clone of this DataSourceCredentials instance. (Overrides ReportObject.DeepClone().) | |
Equals | (Inherited from Object.) | |
GetContainingDataScopes | Infrastructure. Returns the list of report object that contains data scopes. (Inherited from ReportObject.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
Initialize | Infrastructure. Initializes an instance of ReportObject. (Inherited from ReportObject.) | |
OnChildPropertyChanged | Infrastructure. Raises an event when the property of the child was changed. (Inherited from ReportObject.) | |
OnPropertyChanged | Infrastructure. Raises an event when the property was changed. (Inherited from ReportObject.) | |
ToString | (Inherited from Object.) |
Top
Explicit Interface Implementations
Name | Description | |
---|---|---|
IDisposable.Dispose | Infrastructure. Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Inherited from ReportObject.) | |
IComponent.Disposed | Infrastructure. Occurs when the ReportObject object is disposed. (Inherited from ReportObject.) |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.