UserName 属性

Gets or sets the username to use when connecting to the database. Overrides any username specified in the connection string.

命名空间:  Microsoft.ReportingServices.DataProcessing
程序集:  Microsoft.ReportingServices.Interfaces(在 Microsoft.ReportingServices.Interfaces.dll 中)

语法

声明
WriteOnly Property UserName As String
    Set
用法
Dim instance As IDbConnectionExtension
Dim value As String

instance.UserName = value
string UserName { set; }
property String^ UserName {
    void set (String^ value);
}
abstract UserName : string with get, set
function set UserName (value : String)

属性值

类型:System. . :: . .String
The user name to use when authenticating the client.

注释

You can set the username and Password in order to specify alternate credentials with which to access the data source.