IDTSProject100 接口
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
表示包含包和参数的接口。
public interface class IDTSProject100
[System.Runtime.InteropServices.Guid("757A2F76-02D8-473A-B45D-84AEFFA1DFA4")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
[System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FOleAutomation)]
public interface IDTSProject100
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
[System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FOleAutomation)]
[System.Runtime.InteropServices.Guid("945E1C1E-F19F-41DA-9758-A0ECD6A28577")]
public interface IDTSProject100
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
[System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FOleAutomation)]
[System.Runtime.InteropServices.Guid("3FF5D8A9-8BD3-4EC4-B4BE-3DCD7F2AA6C3")]
public interface IDTSProject100
[<System.Runtime.InteropServices.Guid("757A2F76-02D8-473A-B45D-84AEFFA1DFA4")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
[<System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FOleAutomation)>]
type IDTSProject100 = interface
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
[<System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FOleAutomation)>]
[<System.Runtime.InteropServices.Guid("945E1C1E-F19F-41DA-9758-A0ECD6A28577")>]
type IDTSProject100 = interface
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
[<System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FOleAutomation)>]
[<System.Runtime.InteropServices.Guid("3FF5D8A9-8BD3-4EC4-B4BE-3DCD7F2AA6C3")>]
type IDTSProject100 = interface
Public Interface IDTSProject100
- 属性
属性
| 名称 | 说明 |
|---|---|
| OfflineMode |
获取或设置一个值,表示项目是否处于离线模式。 |
| ProtectionLevelRequireConsistency |
判断项目保护层级是否需要一致性。 |
方法
| 名称 | 说明 |
|---|---|
| ContainsPackage(String) |
指定该软件包是否包含在项目中。 |
| EnsureConnectionsAreLoaded() |
确保连接已加载到项目中。 |
| GetConfiguredPackageByName(String) |
按名称获取配置包。 |
| GetConnections() |
获取包裹的连接。 |
| GetPackage(Int32, String) |
拿到项目的包裹。 |
| GetPackageByName(String) |
按名字收到包裹。 |
| GetPackageCount() |
返回项目的包裹编号。 |
| GetPackageNoLoad(Int32, String) |
拿到的包裹里没有货物。 |
| GetParameter(Int32) |
获取项目参数的集合。 |
| GetParameterCount() |
获取参数的数量。 |
| GetParameterVariable(Int32) |
获取项目的参数变量。 |
| GetParameterVariableByID(String) |
通过标识符获取参数变量。 |
| GetParameterVariableByName(String) |
通过参数变量名称获取。 |
| GetProtectionLevel() |
获得项目的保护级别。 |
| GetVariables() |
获取项目变量。 |
| MatchPassword(String) |
和项目密码匹配。 |