Partager via


RecordsRepository.GetRecordRoutingCollection, méthode (websvcOfficialFile)

Gets the properties of all the record routing types for a records repository.

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

Syntaxe

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

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

Valeur de retour

A string, representing a collection of the record routing types, which can be assigned to a System.Xml.XmlNode object.

<RecordRoutingCollection>
  <RecordRouting>
    <Name>recordRoutingName</Name>
    <Description>recordRoutingDescription</Description>
    <Mappings>
       <Mapping>recordRoutingAliasName</Mapping>
    </Mappings>
  </RecordRouting>
  <RecordRouting>
    …
  </RecordRouting>
</RecordRoutingCollection>

Each Mapping element represents an alias for the record routing type. 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. When Office SharePoint Server 2007 implements the Web service, the following XML structure is returned in case of error.

<ResultCode>InvalidConfiguration</ResultCode>

Voir aussi

Référence

RecordsRepository, classe
Membres RecordsRepository
websvcOfficialFile, espace de noms

Autres ressources

Centre d'enregistrements
Service Web du Centre d'enregistrement