다음을 통해 공유


QueryService.Status Method

Returns availability of the search service.

Namespace:  [Search Web service]
Web service reference: http://Site/_vti_bin/Search.asmx

Syntax

'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
'Usage
Dim instance As QueryService
Dim returnValue As String

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

Return Value

Type: System.String
A string that contains the status of the search service.

Remarks

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

See Also

Reference

QueryService Class

QueryService Members

Search Web Service