ConnectionManagerAdoNetClass.UserName 屬性
此 API 支援 SQL Server 2012 基礎結構,但無法直接從您的程式碼使用。
Gets or sets the username for the connection.
命名空間: Microsoft.SqlServer.Dts.Runtime.Wrapper
組件: Microsoft.SqlServer.DTSRuntimeWrap (在 Microsoft.SqlServer.DTSRuntimeWrap.dll 中)
語法
'宣告
Public Overridable Property UserName As String
Get
Set
'用途
Dim instance As ConnectionManagerAdoNetClass
Dim value As String
value = instance.UserName
instance.UserName = value
public virtual string UserName { get; set; }
public:
virtual property String^ UserName {
String^ get ();
void set (String^ value);
}
abstract UserName : string with get, set
override UserName : string with get, set
function get UserName () : String
function set UserName (value : String)
屬性值
型別:System.String
The username for the connection.
實作
IDTSConnectionManagerDatabaseParameters100.UserName
備註
For more information, see ConnectionManager.