共用方式為


CachedCredentials Constructor

Definition

public:
 CachedCredentials(Guid dataSourceId, Microsoft::ReportDesigner::Data::DataSourceCredentialsType credentialsType, System::String ^ userName, System::String ^ password, bool useAsWindowsCredentials);
public CachedCredentials (Guid dataSourceId, Microsoft.ReportDesigner.Data.DataSourceCredentialsType credentialsType, string userName, string password, bool useAsWindowsCredentials);
new Microsoft.ReportDesigner.Data.CachedCredentials : Guid * Microsoft.ReportDesigner.Data.DataSourceCredentialsType * string * string * bool -> Microsoft.ReportDesigner.Data.CachedCredentials
Public Sub New (dataSourceId As Guid, credentialsType As DataSourceCredentialsType, userName As String, password As String, useAsWindowsCredentials As Boolean)

Parameters

dataSourceId
Guid
credentialsType
DataSourceCredentialsType
userName
String
password
String
useAsWindowsCredentials
Boolean

Applies to