Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
- filePath
Type: System..::.String
Full path to the file to be imported.
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.