OptimizerDependencyDataSet.OptimizerDependenciesDataTable.AddOptimizerDependenciesRow Method (Guid, String, Int32, String, Guid, Guid, DateTime, DateTime, String, String)
Adds an OptimizerDependenciesRow object to the OptimizerDependenciesDataTable by using separate parameters.
Namespace: [PortfolioAnalyses Web service]
Service reference: http://ServerName:32843/[Project Service Application GUID]/PSI/PortfolioAnalyses.svc
Web service reference: http://ServerName/ProjectServerName/_vti_bin/PSI/PortfolioAnalyses.asmx?wsdl
Syntax
'Declaration
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
'Usage
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
)
Parameters
- DEPENDENCY_UID
Type: System.Guid
Contains the dependency GUID.
- DEPENDENCY_NAME
Type: System.String
Contains the dependency name.
- DEPENDENCY_TYPE
Type: System.Int32
Contains the dependency type.
- DEPENDENCY_DESCRIPTION
Type: System.String
Contains the dependency description.
- LAST_UPDATED_BY_RES_UID
Type: System.Guid
Contains the GUID of the resource that last modified the dependency.
- CREATED_BY_RES_UID
Type: System.Guid
Contains the GUID of the resource that created the dependency.
- CREATED_DATE
Type: System.DateTime
Contains the date when the dependency was created.
- MOD_DATE
Type: System.DateTime
Contains the date when the dependency was modified.
- LAST_UPDATED_BY_RES_NAME
Type: System.String
Contains the name of the resource that last modified the dependency.
- CREATED_BY_RES_NAME
Type: System.String
Contains the name of the resource that created the dependency.
Return Value
Type: [PortfolioAnalyses Web service].OptimizerDependencyDataSet.OptimizerDependenciesRow
Remarks
In general, developers should use the AddOptimizerDependenciesRow overload.
See Also
Reference
OptimizerDependencyDataSet.OptimizerDependenciesDataTable Class
OptimizerDependencyDataSet.OptimizerDependenciesDataTable Members