Share via


ExcelService constructor (String)

NOTE: This API is now obsolete.

Initializes a new instance of the ExcelService class, passing in the baseUrl for context. This constructor would be used when calling methods outside of an http request

Namespace:  Microsoft.Office.Excel.Server.WebServices
Assembly:  Microsoft.Office.Excel.Server.WebServices (in Microsoft.Office.Excel.Server.WebServices.dll)

Syntax

'Declaration
<ObsoleteAttribute> _
Public Sub New ( _
    baseUrl As String _
)
'Usage
Dim baseUrl As String

Dim instance As New ExcelService(baseUrl)
[ObsoleteAttribute]
public ExcelService(
    string baseUrl
)

Parameters

  • baseUrl
    Type: System.String

    URL from which we will construct an SPWeb to get contextual information like RegionalSettings

See also

Reference

ExcelService class

ExcelService members

ExcelService overload

Microsoft.Office.Excel.Server.WebServices namespace