Partager via


Import Method

For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.

Imports users from the specified file into the StaticList object.

Namespace:  Microsoft.CommerceServer.Marketing
Assembly:  Microsoft.CommerceServer.Marketing.CrossTierTypes (in Microsoft.CommerceServer.Marketing.CrossTierTypes.dll)

Syntax

'Declaration
Public Function Import ( _
    filePath As String _
) As Guid
'Usage
Dim instance As StaticList
Dim filePath As String
Dim returnValue As Guid

returnValue = instance.Import(filePath)
public Guid Import(
    string filePath
)
public:
Guid Import(
    String^ filePath
)
public function Import(
    filePath : String
) : Guid

Parameters

Return Value

Type: System..::.Guid
The Id of the import operation performed.

Exceptions

Exception Condition
ArgumentNullException

filePath is nullNothingnullptra null reference (Nothing in Visual Basic).

Remarks

The StaticList will consist of the existing list and the users in the imported list.

Permissions

See Also

Reference

StaticList Class

StaticList Members

Microsoft.CommerceServer.Marketing Namespace