ExcelClient.CloseSession 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
CloseSession() |
Closes the session that you opened by calling the OpenSession method subject to a default timeout period, and closes all instances of Excel that are running on the compute nodes. |
CloseSession(Int32) |
Closes the session that you opened by calling the OpenSession method subject to the specified timeout period, and closes all instances of Excel that are running on the compute nodes. |
CloseSession()
Closes the session that you opened by calling the OpenSession method subject to a default timeout period, and closes all instances of Excel that are running on the compute nodes.
public void CloseSession ();
member this.CloseSession : unit -> unit
Public Sub CloseSession ()
Applies to
CloseSession(Int32)
Closes the session that you opened by calling the OpenSession method subject to the specified timeout period, and closes all instances of Excel that are running on the compute nodes.
public void CloseSession (int timeoutMilliseconds);
member this.CloseSession : int -> unit
Public Sub CloseSession (timeoutMilliseconds As Integer)
Parameters
- timeoutMilliseconds
- Int32