RecordSeriesCollection.Add Method
NOTE: This API is now obsolete.
Adds a RecordSeries object to the RecordSeriesCollection object.
Namespace: Microsoft.Office.RecordsManagement.RecordsRepository
Assembly: Microsoft.Office.Policy (in Microsoft.Office.Policy.dll)
Syntax
'Declaration
<ObsoleteAttribute("The Record Series is deprecated - use the routing rules list.")> _
Public Function Add ( _
strName As String, _
strLocation As String, _
strDescription As String, _
rgstrMappings As String(), _
strRouter As String, _
fDefault As Boolean _
) As RecordSeries
'Usage
Dim instance As RecordSeriesCollection
Dim strName As String
Dim strLocation As String
Dim strDescription As String
Dim rgstrMappings As String()
Dim strRouter As String
Dim fDefault As Boolean
Dim returnValue As RecordSeries
returnValue = instance.Add(strName, strLocation, _
strDescription, rgstrMappings, strRouter, _
fDefault)
[ObsoleteAttribute("The Record Series is deprecated - use the routing rules list.")]
public RecordSeries Add(
string strName,
string strLocation,
string strDescription,
string[] rgstrMappings,
string strRouter,
bool fDefault
)
Parameters
strName
Type: System.StringThe file type to which the new rule applies.
strLocation
Type: System.StringThe storage location in the repository for file types that apply to the new rule.
strDescription
Type: System.StringA human-readable text description that explains the rule.
rgstrMappings
Type: []The list of other file types for which the rule applies.
strRouter
Type: System.StringThe custom Router object for the RecordSeries object that is added.
fDefault
Type: System.Booleantrue if this instance is to be configured as the default rule; otherwise, false.
Return Value
Type: Microsoft.Office.RecordsManagement.RecordsRepository.RecordSeries
The newly added RecordSeries object.
See Also
Reference
RecordSeriesCollection Members
Microsoft.Office.RecordsManagement.RecordsRepository Namespace