PublicAPI.Projects.Risk.ResolveRisk ELMA API Documentation
Resolve the risk
 
 
Syntax

public void ResolveRisk(
	Risk risk,
	string resolveComment
)

Parameters

risk
Type: Risk
Risk, to resolve. Object. Access path: PublicAPI.Projects.Risk
resolveComment
Type: System String
Comment when resolving the risk (optional parameter)
Examples

//load the risk by ID 
var risk = PublicAPI.Projects.Risk.Load(3);
//comment when resolving the risk 
var resolveComment = "Comment";

//resolve the risk
PublicAPI.Projects.Risk.ResolveRisk(risk, resolveComment);
See Also