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.