Поделиться через


Свойство SQLUsername

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 (в Microsoft.SqlServer.Exec80PackageTask.dll)

Синтаксис

'Декларация
Public Property SQLUsername As String
    Get
    Set
'Применение
Dim instance As Exec80PackageTask
Dim value As String

value = instance.SQLUsername

instance.SQLUsername = value
public string SQLUsername { get; set; }
public:
virtual property String^ SQLUsername {
    String^ get () sealed;
    void set (String^ value) sealed;
}
abstract SQLUsername : string with get, set
override SQLUsername : string with get, set
final function get SQLUsername () : String
final function set SQLUsername (value : String)

Значение свойства

Тип: System. . :: . .String
A String containing the name of the SQL Server login to be used by the DTS package.

Реализует

IDTSExec80PackageTask. . :: . .SQLUsername

Замечания

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.

ПримечаниеПримечание

Whenever possible, use Windows Authentication.