Click to Rate and Give Feedback
MSDN
MSDN Library
Office Development
SDK Documentation
Web Services
Search Web Service
QueryService Class
 Status Method
Community Content
In this section
Statistics Annotations (0)
Collapse All/Expand All Collapse All
QueryService.Status Method (Search)
Returns availability of the search service.

Web Service: SearchWeb Reference: http://<Site>/_vti_bin/Search.asmx
Visual Basic (Declaration)
<SoapDocumentMethodAttribute("urn:Microsoft.Search/Status", RequestNamespace:="urn:Microsoft.Search", ResponseNamespace:="urn:Microsoft.Search", Use:=SoapBindingUse.Literal, ParameterStyle:=SoapParameterStyle.Wrapped)> _
Public Function Status As String
Visual Basic (Usage)
Dim instance As QueryService
Dim returnValue As String

returnValue = instance.Status
C#
[SoapDocumentMethodAttribute("urn:Microsoft.Search/Status", RequestNamespace="urn:Microsoft.Search", ResponseNamespace="urn:Microsoft.Search", Use=SoapBindingUse.Literal, ParameterStyle=SoapParameterStyle.Wrapped)] 
public string Status ()

Return Value

A string that contains the status of the search service.

Returns a status of ONLINE or OFFLINE to indicate the availability of the search service.

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2010 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks | Privacy Statement
Page view tracker