Share via


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
Public method DataSourceCredentials() Infrastructure. Initializes a new instance of the DataSourceCredentials class.
Public method DataSourceCredentials(String, String) Infrastructure. Initializes a new instance of the DataSourceCredentials class using the specified user name and password.

Top

Properties

  Name Description
Public property ComponentMetadata Gets or sets the component metadata. (Inherited from ReportObject.)
Public property EncryptedPassword Infrastructure. Gets or sets the encrypted password of the data source.
Public property EncryptedUserName Infrastructure. Gets or sets the encrypted user name of the data source.
Public property Parent The parent of this report object. (Inherited from ReportObjectBase.)
Public property Password Infrastructure. Gets or sets the password of the data source.
Public property Site Infrastructure. Gets or sets the site associated with the ReportObject object. (Inherited from ReportObject.)
Public property UserName Infrastructure. Gets or sets the user name of the data source.

Top

Methods

  Name Description
Public methodStatic member CreateFromCiphertext Infrastructure. Creates a DataSourceCredentials object from a cipher text.
Public method DeepClone Infrastructure. Returns a deep clone of this DataSourceCredentials instance. (Overrides ReportObject.DeepClone().)
Public method Equals (Inherited from Object.)
Public method GetContainingDataScopes Infrastructure. Returns the list of report object that contains data scopes. (Inherited from ReportObject.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method Initialize Infrastructure. Initializes an instance of ReportObject. (Inherited from ReportObject.)
Protected method OnChildPropertyChanged Infrastructure. Raises an event when the property of the child was changed. (Inherited from ReportObject.)
Protected method OnPropertyChanged Infrastructure. Raises an event when the property was changed. (Inherited from ReportObject.)
Public method ToString (Inherited from Object.)

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method IDisposable.Dispose Infrastructure. Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Inherited from ReportObject.)
Explicit interface implemetationPrivate event 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.

See Also

Reference

Microsoft.ReportingServices.RdlObjectModel Namespace