IASSPClientProxy.OpenWorkbookSession 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
| OpenWorkbookSession(String, String) |
Open a new connection to a specific workbook's model within the scope of a given Excel Services session, and return metadata that can be used to interact with the session. |
| OpenWorkbookSession(String, String, SessionLifetimePolicy) |
Open a new connection to a specific workbook's model within the scope of a given Excel Services session, and return metadata that can be used to interact with the session. |
OpenWorkbookSession(String, String)
Open a new connection to a specific workbook's model within the scope of a given Excel Services session, and return metadata that can be used to interact with the session.
public Microsoft.AnalysisServices.SPClient.Interfaces.IWorkbookSession OpenWorkbookSession (string in_bstrWorkbookPath, string in_bstrSessionId);
abstract member OpenWorkbookSession : string * string -> Microsoft.AnalysisServices.SPClient.Interfaces.IWorkbookSession
Public Function OpenWorkbookSession (in_bstrWorkbookPath As String, in_bstrSessionId As String) As IWorkbookSession
Parameters
- in_bstrWorkbookPath
- String
The absolute path of the workbook within the SharePoint site.
- in_bstrSessionId
- String
The ID of the Excel Services session that holds an existing connection to this workbook model.
Returns
The set of session metadata that describes the connection.
Applies to
OpenWorkbookSession(String, String, SessionLifetimePolicy)
Open a new connection to a specific workbook's model within the scope of a given Excel Services session, and return metadata that can be used to interact with the session.
[System.Runtime.InteropServices.ComVisible(false)]
public Microsoft.AnalysisServices.SPClient.Interfaces.IWorkbookSession OpenWorkbookSession (string in_bstrWorkbookPath, string in_bstrSessionId, Microsoft.AnalysisServices.SPClient.Interfaces.SessionLifetimePolicy in_lifetimePolicy);
[<System.Runtime.InteropServices.ComVisible(false)>]
abstract member OpenWorkbookSession : string * string * Microsoft.AnalysisServices.SPClient.Interfaces.SessionLifetimePolicy -> Microsoft.AnalysisServices.SPClient.Interfaces.IWorkbookSession
Public Function OpenWorkbookSession (in_bstrWorkbookPath As String, in_bstrSessionId As String, in_lifetimePolicy As SessionLifetimePolicy) As IWorkbookSession
Parameters
- in_bstrWorkbookPath
- String
The absolute path of the workbook within the SharePoint site.
- in_bstrSessionId
- String
The ID of the Excel Services session that holds an existing connection to this workbook model.
- in_lifetimePolicy
- SessionLifetimePolicy
The SessionLifetimePolicy that governs how (and if) the IWorkbookSession should manage the specified session.
Returns
The set of session metadata that describes the connection.
- Attributes