ExcelClient.OpenSession Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
OpenSession(SessionStartInfo, String) |
Starts a new SOA session using the settings in the specified SessionStartInfo object to perform calculations from the specified Excel workbook on an HPC cluster. |
OpenSession(String, Int32, Int32, SessionUnitType, String) |
Starts a new SOA session using the specified resource settings to perform calculations from the specified Excel workbook on the HPC cluster with the specified head node. |
OpenSession(SessionStartInfo, String)
Starts a new SOA session using the settings in the specified SessionStartInfo object to perform calculations from the specified Excel workbook on an HPC cluster.
public int OpenSession (Microsoft.Hpc.Scheduler.Session.SessionStartInfo startInfo, string remoteWorkbookPath);
member this.OpenSession : Microsoft.Hpc.Scheduler.Session.SessionStartInfo * string -> int
Public Function OpenSession (startInfo As SessionStartInfo, remoteWorkbookPath As String) As Integer
Parameters
- startInfo
- SessionStartInfo
- remoteWorkbookPath
- String
Returns
An Int32 that specifies the identifier of the SOA session that the method created.
Applies to
OpenSession(String, Int32, Int32, SessionUnitType, String)
Starts a new SOA session using the specified resource settings to perform calculations from the specified Excel workbook on the HPC cluster with the specified head node.
public int OpenSession (string headNode, int minResources, int maxResources, Microsoft.Hpc.Scheduler.Session.SessionUnitType resourceType, string remoteWorkbookPath);
member this.OpenSession : string * int * int * Microsoft.Hpc.Scheduler.Session.SessionUnitType * string -> int
Public Function OpenSession (headNode As String, minResources As Integer, maxResources As Integer, resourceType As SessionUnitType, remoteWorkbookPath As String) As Integer
Parameters
- headNode
- String
- minResources
- Int32
- maxResources
- Int32
- resourceType
- SessionUnitType
- remoteWorkbookPath
- String
Returns
An Int32 that specifies the identifier of the SOA session that the method created.