Exec80PackageTask.Location Property

Gets or sets a Exec80PackageTask.Locations value that indicates the type of storage in which the Microsoft SQL Server 2000 Data Transformation Services (DTS) package to be executed by a Exec80PackageTask is located.

命名空间: Microsoft.SqlServer.Dts.Tasks.Exec80PackageTask
程序集: Microsoft.SqlServer.Exec80PackageTask (in microsoft.sqlserver.exec80packagetask.dll)

语法

声明
Public Property Location As Locations
public Locations Location { get; set; }
public:
virtual property Locations Location {
    Locations get () sealed;
    void set (Locations value) sealed;
}
/** @property */
public final Locations get_Location ()

/** @property */
public final void set_Location (Locations value)
public final function get Location () : Locations

public final function set Location (value : Locations)

属性值

A Exec80PackageTask.Locations value. The default value is SqlServer.

备注

已更新的文本:2005 年 12 月 5 日

Depending on the Location setting, different properties of the task are used. The following table lists the properties that are required and optional, depending on the value of Location.

Location

Properties

Exec80PackageTask.Locations.SqlServer

SQLServer, WindowsAuthentication, SQLUsername, SQLPassword, PackagePassword, PackageName, PackageID, PackageVersionGUID, InnerGlobalVariables.

Exec80PackageTask.Locations.StorageFile

Filename, PackagePassword, PackageName, PackageID, PackageVersionGUID, InnerGlobalVariables

Exec80PackageTask.Locations.EmbeddedInTask

Name, Description, PackageName, Location, SQLServer, WindowsAuthentication, SQLUsername, SQLPassword, PackagePassword, PackageName, PackageID, PackageVersionGUID, InnerGlobalVariables

The PackagePassword is used depending on the value of the ProtectionLevel. The SQLUsername and SQLPassword are used if the SQL Server is password protected.

线程安全

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