Click to Rate and Give Feedback
MSDN
MSDN Library
Office Development
SDK Documentation
Web Services
 GetRecordRouting Method
Community Content
In this section
Statistics Annotations (0)
Collapse All/Expand All Collapse All
RecordsRepository.GetRecordRouting Method
Gets the properties of the specified record routing type.

Web Service: Official FileWeb Reference: http://<Site>/_vti_bin/OfficialFile.asmx
Visual Basic (Declaration)
<SoapDocumentMethodAttribute("http://schemas.microsoft.com/sharepoint/soap/recordsrepository/GetRecordRouting", RequestNamespace:="http://schemas.microsoft.com/sharepoint/soap/recordsrepository/", ResponseNamespace:="http://schemas.microsoft.com/sharepoint/soap/recordsrepository/", Use:=SoapBindingUse.Literal, ParameterStyle:=SoapParameterStyle.Wrapped)> _
Public Function GetRecordRouting ( _
    recordRouting As String _
) As String
Visual Basic (Usage)
Dim instance As RecordsRepository
Dim recordRouting As String
Dim returnValue As String

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

Parameters

recordRouting

A string that represents the name of the record routing type.

Return Value

A string, representing the record routing type properties, which can be assigned to a System.Xml.XmlNode object.
Xml
<RecordRouting>
  <Name>recordRoutingName</Name>
  <Description>recordRoutingDescription</Description>
  <Mappings>
     <Mapping>recordRoutingAliasName</Mapping>
  </Mappings>
</RecordRouting>
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.
Xml
<ResultCode>InvalidConfiguration</ResultCode>
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2012 Microsoft. All rights reserved. Terms of Use | Trademarks | Privacy Statement
Page view tracker