DataSourceCredentials.UserName 屬性
此 API 支援 SQL Server 2012 基礎結構,但無法直接從您的程式碼使用。
Gets or sets the user name of the data source.
命名空間: Microsoft.ReportingServices.RdlObjectModel
組件: Microsoft.ReportingServices.Designer.Controls (在 Microsoft.ReportingServices.Designer.Controls.dll 中)
語法
'宣告
Public Property UserName As String
Get
Set
'用途
Dim instance As DataSourceCredentials
Dim value As String
value = instance.UserName
instance.UserName = value
public string UserName { get; set; }
public:
property String^ UserName {
String^ get ();
void set (String^ value);
}
member UserName : string with get, set
function get UserName () : String
function set UserName (value : String)
屬性值
型別:System.String
The user name of the data source.