A Sandcastle Documented Class Library

# IMemberProvider TRecord, TFieldEnum, TFilterRule ImportRecord Method

Imports a record to the underlying storage mechanism.

Namespace: Dundas.BI.AccountServices.Extensibility
Assembly: Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (10.0.0.1002)
Syntax
C#
VB
C++
F#
Copy

    bool ImportRecord(
    	TRecord record
    )

    Function ImportRecord (
    	record As TRecord
    ) As Boolean

    bool ImportRecord(
    	TRecord record
    )

    abstract ImportRecord :
            record : 'TRecord -> bool

#### Parameters

record
  Type: TRecord
  The record to be imported.

#### Return Value

Type: Boolean
if a new record was imported; otherwise
.
Exceptions

Exception | Condition
--- | ---
DuplicateItemException | A record with the specified name already exists.
NotSupportedException | The operation is not supported.

Remarks
If the record exists, the record should be updated; otherwise, the record should be added with the ID being preserved.
See Also

#### Reference

IMemberProvider
TRecord, TFieldEnum, TFilterRule
Interface
Dundas.BI.AccountServices.Extensibility Namespace