RecordsRepository.GetServerInfo Method (Official File)
Returns information on an implementation of the records repository.

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

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

returnValue = instance.GetServerInfo
C#
[SoapDocumentMethodAttribute("http://schemas.microsoft.com/sharepoint/soap/recordsrepository/GetServerInfo", RequestNamespace="http://schemas.microsoft.com/sharepoint/soap/recordsrepository/", ResponseNamespace="http://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.
Xml
<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

Tags :


Page view tracker