Share via


RecordSeriesCollection.Add Method

Adds a RecordSeries object to the RecordSeriesCollection object.

Namespace:  Microsoft.Office.RecordsManagement.RecordsRepository
Assembly:  Microsoft.Office.Policy (in Microsoft.Office.Policy.dll)

Syntax

'Declaration
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)
public RecordSeries Add(
    string strName,
    string strLocation,
    string strDescription,
    string[] rgstrMappings,
    string strRouter,
    bool fDefault
)

Parameters

  • strName
    Type: System.String
    The file type to which the new rule applies.
  • strLocation
    Type: System.String
    The storage location in the repository for file types that apply to the new rule.
  • strDescription
    Type: System.String
    A human-readable text description that explains the rule.
  • rgstrMappings
    Type: []
    The list of other file types for which the rule applies.
  • fDefault
    Type: System.Boolean
    true 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 Class

RecordSeriesCollection Members

Microsoft.Office.RecordsManagement.RecordsRepository Namespace