共用方式為


Exec80PackageTask.SQLUsername Property

Gets or sets the name of the SQL Server login to be used by the Microsoft SQL Server 2000 Data Transformation Services (DTS) package to be executed by the Exec80PackageTask.

命名空間: Microsoft.SqlServer.Dts.Tasks.Exec80PackageTask
組件: Microsoft.SqlServer.Exec80PackageTask (in microsoft.sqlserver.exec80packagetask.dll)

語法

'宣告
Public Property SQLUsername As String
public string SQLUsername { get; set; }
public:
virtual property String^ SQLUsername {
    String^ get () sealed;
    void set (String^ value) sealed;
}
/** @property */
public final String get_SQLUsername ()

/** @property */
public final void set_SQLUsername (String value)
public final function get SQLUsername () : String

public final function set SQLUsername (value : String)

屬性值

A String containing the name of the SQL Server login to be used by the DTS package.

備註

This property is used only if the Location property is set to SqlServer and the WindowsAuthentication property is set to false. If those properties are set as described and this property is set to a null reference (Nothing in Visual Basic) or to an empty string (""), an error occurs.

ms209647.note(zh-tw,SQL.90).gif附註:
Whenever possible, use Windows Authentication.

執行緒安全性

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

平台

開發平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

目標平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

請參閱

參考

Exec80PackageTask Class
Exec80PackageTask Members
Microsoft.SqlServer.Dts.Tasks.Exec80PackageTask Namespace