Syntax
Visual Basic (Declaration) |
|
<SoapDocumentMethodAttribute(RequestNamespace="http://schemas.microsoft.com/office/excel/server/webservices",
ResponseNamespace="http://schemas.microsoft.com/office/excel/server/webservices",
Use=SoapBindingUse.Literal,
ParameterStyle=SoapParameterStyle.Wrapped,
Action="http://schemas.microsoft.com/office/excel/server/webservices/GetWorkbook")>
Public Function GetWorkbook( _
ByVal sessionId As String, _
ByVal workbookType As WorkbookType, _
ByRef status As Status _
) As Byte() |
Visual Basic (Usage) |
Copy Code |
Dim instance As ExcelService
Dim sessionId As String
Dim workbookType As WorkbookType
Dim status As Status
Dim value() As Byte
value = instance.GetWorkbook(sessionId, workbookType, status)
|
C# |
|
[SoapDocumentMethodAttribute(RequestNamespace="http://schemas.microsoft.com/office/excel/server/webservices",
ResponseNamespace="http://schemas.microsoft.com/office/excel/server/webservices",
Use=SoapBindingUse.Literal,
ParameterStyle=SoapParameterStyle.Wrapped,
Action="http://schemas.microsoft.com/office/excel/server/webservices/GetWorkbook")]
public byte[] GetWorkbook(
string sessionId,
WorkbookType workbookType,
out Status status
) |
Parameters
- sessionId
-
- workbookType
-
- status
Requirements
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family
See Also