Click or drag to resize

IDseSessionExecuteGraph Method (IGraphStatement, String)

Executes a graph statement with the provided execution profile. The 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#
GraphResultSet ExecuteGraph(
	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: GraphResultSet
Examples
GraphResultSet rs = session.ExecuteGraph(new SimpleGraphStatement("g.V()"), "graphProfile");
See Also