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.
注意: |
---|
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