RecordsRepository.GetServerInfo Method

Returns information on an implementation of the records repository.

Web Service: Official FileWeb Reference: http://<Site>/_vti_bin/OfficialFile.asmx

Syntax

'Declaration
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/sharepoint/soap/recordsrepository/GetServerInfo", RequestNamespace:="https://schemas.microsoft.com/sharepoint/soap/recordsrepository/", ResponseNamespace:="https://schemas.microsoft.com/sharepoint/soap/recordsrepository/", Use:=SoapBindingUse.Literal, ParameterStyle:=SoapParameterStyle.Wrapped)> _
Public Function GetServerInfo As String
'Usage
Dim instance As RecordsRepository
Dim returnValue As String

returnValue = instance.GetServerInfo
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/sharepoint/soap/recordsrepository/GetServerInfo", RequestNamespace="https://schemas.microsoft.com/sharepoint/soap/recordsrepository/", ResponseNamespace="https://schemas.microsoft.com/sharepoint/soap/recordsrepository/", Use=SoapBindingUse.Literal, ParameterStyle=SoapParameterStyle.Wrapped)] 
public string GetServerInfo ()

Return Value

A string, representing the server information, which can be assigned to a System.Xml.XmlNode object.

<ServerInfo>
  <ServerType>serverType</ServerType>
  <ServerVersion>serverVersion</ServerVersion>
</ServerInfo>

In the case of an exception, this method might instead return a string representing an exception message, depending on the application implementing the Web service.

See Also

Reference

RecordsRepository Class
RecordsRepository Members
Official File Web Service

Other Resources

Records Center
Records Center Web Service