다음을 통해 공유


IDbConnectionExtension.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.SharePoint.UI.WebParts(Microsoft.ReportingServices.SharePoint.UI.WebParts.dll)
  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.

참고 항목

참조

IDbConnectionExtension 인터페이스

Microsoft.ReportingServices.DataProcessing 네임스페이스