Sdílet prostřednictvím


DataSource.Credentials Property

This API supports the SQL Server 2012 infrastructure and is not intended to be used directly from your code.

Gets or sets the data source credentials.

Namespace:  Microsoft.ReportingServices.RdlObjectModel
Assembly:  Microsoft.ReportingServices.Designer.Controls (in Microsoft.ReportingServices.Designer.Controls.dll)

Syntax

'Declaration
Public Property Credentials As DataSourceCredentials 
    Get 
    Set
'Usage
Dim instance As DataSource 
Dim value As DataSourceCredentials 

value = instance.Credentials

instance.Credentials = value
public DataSourceCredentials Credentials { get; set; }
public:
property DataSourceCredentials^ Credentials {
    DataSourceCredentials^ get ();
    void set (DataSourceCredentials^ value);
}
member Credentials : DataSourceCredentials with get, set
function get Credentials () : DataSourceCredentials 
function set Credentials (value : DataSourceCredentials)

Property Value

Type: Microsoft.ReportingServices.RdlObjectModel.DataSourceCredentials
A DataSourceCredentials object.

See Also

Reference

DataSource Class

Microsoft.ReportingServices.RdlObjectModel Namespace