Partager via


RecordsRepository.GetServerInfo, méthode (websvcOfficialFile)

Returns information on an implementation of the records repository.

Espace de noms : websvcOfficialFile
Assembly : MOSSSOAP (dans mosssoap.dll)

Syntaxe

'Déclaration
<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
'Utilisation
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 ()

Valeur de retour

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.

Voir aussi

Référence

RecordsRepository, classe
Membres RecordsRepository
websvcOfficialFile, espace de noms

Autres ressources

Centre d'enregistrements
Service Web du Centre d'enregistrement