共用方式為


DataSource.SetCachedCredentials 方法

此 API 支援 SQL Server 2012 基礎結構,但無法直接從您的程式碼使用。

Sets the credentials from the cached.

命名空間:  Microsoft.ReportingServices.RdlObjectModel
組件:  Microsoft.ReportingServices.Designer.Controls (在 Microsoft.ReportingServices.Designer.Controls.dll 中)

語法

'宣告
Public Sub SetCachedCredentials ( _
    creds As CachedCredentials _
)
'用途
Dim instance As DataSource 
Dim creds As CachedCredentials

instance.SetCachedCredentials(creds)
public void SetCachedCredentials(
    CachedCredentials creds
)
public:
void SetCachedCredentials(
    CachedCredentials^ creds
)
member SetCachedCredentials : 
        creds:CachedCredentials -> unit
public function SetCachedCredentials(
    creds : CachedCredentials
)

參數

  • creds
    型別:CachedCredentials
    The credential cached.

請參閱

參考

DataSource 類別

Microsoft.ReportingServices.RdlObjectModel 命名空間