OptimizerDependencyDataSet.OptimizerDependenciesDataTable.AddOptimizerDependenciesRow 方法 (Guid, String, Int32, String, Guid, Guid, DateTime, DateTime, String, String)

通过使用不同的参数向OptimizerDependenciesDataTable的OptimizerDependenciesRow对象。

命名空间:  WebSvcPortfolioAnalyses
程序集:  ProjectServerServices(位于 ProjectServerServices.dll 中)

语法

声明
Public Function AddOptimizerDependenciesRow ( _
    DEPENDENCY_UID As Guid, _
    DEPENDENCY_NAME As String, _
    DEPENDENCY_TYPE As Integer, _
    DEPENDENCY_DESCRIPTION As String, _
    LAST_UPDATED_BY_RES_UID As Guid, _
    CREATED_BY_RES_UID As Guid, _
    CREATED_DATE As DateTime, _
    MOD_DATE As DateTime, _
    LAST_UPDATED_BY_RES_NAME As String, _
    CREATED_BY_RES_NAME As String _
) As OptimizerDependencyDataSet.OptimizerDependenciesRow
用法
Dim instance As OptimizerDependencyDataSet.OptimizerDependenciesDataTable
Dim DEPENDENCY_UID As Guid
Dim DEPENDENCY_NAME As String
Dim DEPENDENCY_TYPE As Integer
Dim DEPENDENCY_DESCRIPTION As String
Dim LAST_UPDATED_BY_RES_UID As Guid
Dim CREATED_BY_RES_UID As Guid
Dim CREATED_DATE As DateTime
Dim MOD_DATE As DateTime
Dim LAST_UPDATED_BY_RES_NAME As String
Dim CREATED_BY_RES_NAME As String
Dim returnValue As OptimizerDependencyDataSet.OptimizerDependenciesRow

returnValue = instance.AddOptimizerDependenciesRow(DEPENDENCY_UID, _
    DEPENDENCY_NAME, DEPENDENCY_TYPE, _
    DEPENDENCY_DESCRIPTION, LAST_UPDATED_BY_RES_UID, _
    CREATED_BY_RES_UID, CREATED_DATE, _
    MOD_DATE, LAST_UPDATED_BY_RES_NAME, _
    CREATED_BY_RES_NAME)
public OptimizerDependencyDataSet.OptimizerDependenciesRow AddOptimizerDependenciesRow(
    Guid DEPENDENCY_UID,
    string DEPENDENCY_NAME,
    int DEPENDENCY_TYPE,
    string DEPENDENCY_DESCRIPTION,
    Guid LAST_UPDATED_BY_RES_UID,
    Guid CREATED_BY_RES_UID,
    DateTime CREATED_DATE,
    DateTime MOD_DATE,
    string LAST_UPDATED_BY_RES_NAME,
    string CREATED_BY_RES_NAME
)

参数

  • DEPENDENCY_UID
    类型:System.Guid

    包含依赖项的 GUID。

  • DEPENDENCY_NAME
    类型:System.String

    包含依赖项名称。

  • DEPENDENCY_TYPE
    类型:System.Int32

    包含依赖项类型。

  • DEPENDENCY_DESCRIPTION
    类型:System.String

    包含依赖项的说明。

  • LAST_UPDATED_BY_RES_UID
    类型:System.Guid

    包含依赖项的上次修改资源的 GUID。

  • CREATED_BY_RES_UID
    类型:System.Guid

    包含创建依赖项的资源的 GUID。

  • LAST_UPDATED_BY_RES_NAME
    类型:System.String

    包含上一次修改依赖项的资源的名称。

  • CREATED_BY_RES_NAME
    类型:System.String

    包含创建依赖项的资源的名称。

返回值

类型:WebSvcPortfolioAnalyses.OptimizerDependencyDataSet.OptimizerDependenciesRow

备注

一般情况下,开发人员应使用的AddOptimizerDependenciesRow重载。

另请参阅

引用

OptimizerDependencyDataSet.OptimizerDependenciesDataTable 类

OptimizerDependencyDataSet.OptimizerDependenciesDataTable 成员

AddOptimizerDependenciesRow 重载

WebSvcPortfolioAnalyses 命名空间