Click or drag to resize

IDseSessionExecuteGraphAsync Method (IGraphStatement, String)

Executes a graph statement asynchronously with the provided graph execution profile. The graph execution profile must have been added previously to the DseCluster using WithExecutionProfiles(ActionIExecutionProfileOptions).

Namespace:  Dse
Assembly:  Dse (in Dse.dll) Version: 2.9.0
Syntax
C#
Task<GraphResultSet> ExecuteGraphAsync(
	IGraphStatement statement,
	string executionProfileName
)

Parameters

statement
Type: Dse.GraphIGraphStatement
The graph statement containing the query
executionProfileName
Type: SystemString
The graph execution profile name to use while executing this statement.

Return Value

Type: TaskGraphResultSet
Examples
Task<GraphResultSet$gt; task = session.ExecuteGraphAsync(new SimpleGraphStatement("g.V()"), "graphProfile");
See Also