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.
Namespace: Microsoft.SqlServer.Dts.Tasks.Exec80PackageTask
Assembly: Microsoft.SqlServer.Exec80PackageTask (in microsoft.sqlserver.exec80packagetask.dll)
Syntax
'Declaration
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)
Property Value
A String containing the name of the SQL Server login to be used by the DTS package.
Remarks
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.
Note
Whenever possible, use Windows Authentication.
Thread Safety
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.
Platforms
Development Platforms
For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.
Target Platforms
For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.
See Also
Reference
Exec80PackageTask Class
Exec80PackageTask Members
Microsoft.SqlServer.Dts.Tasks.Exec80PackageTask Namespace