DMExportsCreateExportByPK Method 
                         | 
                    
                
Alterian Email Manager 6.2.3 SDK Help File Creates an export context for all recipients created with the specified primary key field.
Namespace:   
   DMLibraryAssembly:
   DMLibrary (in DMLibrary.dll) Version: 1.0.6340.17420
Syntaxpublic static int CreateExportByPK(
	DMToken token,
	int pageSize,
	int primaryKey,
	out int count
)
Public Shared Function CreateExportByPK ( 
	token As DMToken,
	pageSize As Integer,
	primaryKey As Integer,
	<OutAttribute> ByRef count As Integer
) As Integer
public:
static int CreateExportByPK(
	DMToken^ token, 
	int pageSize, 
	int primaryKey, 
	[OutAttribute] int% count
)
static member CreateExportByPK : 
        token : DMToken * 
        pageSize : int * 
        primaryKey : int * 
        count : int byref -> int 
DMLibrary.DMExports.CreateExportByPK = function(token, pageSize, primaryKey, count);
Parameters
- token
 - Type: DMToken
Authenticated token - pageSize
 - Type: SystemInt32
Number of records per page. When 0, pages are not created, use 0 for maximum performance - primaryKey
 - Type: SystemInt32
ID of primary key field - count
 - Type: SystemInt32
Output: number of recipients included in export 
Return Value
Type: 
Int32ID of newly created export context
RemarksThe export context must be deleted once it is no longer needed by calling 
DeleteExport.
See Also