Microsoft Identity Integration Server 2003 Developer Reference |
[C#]
public abstract void GenerateImportFile(
String fileName,
String connectTo,
String user,
String password,
ConfigParameterCollection configParameters,
Boolean fFullImport,
TypeDescriptionCollection types,
ref String customData
);
[Visual Basic .NET]
Public MustOverride Sub GenerateImportFile( _
ByVal fileName As String, _
ByVal connectTo As String, _
ByVal user As String, _
ByVal password As String, _
ByVal configParameters As ConfigParameterCollection, _
ByVal fFullImport As Boolean, _
ByVal types As TypeDescriptionCollection, _
ByRef customData As String _
)
Implements IMAExtensibleFileImport.GenerateImportFile
Exception type | Condition |
---|---|
BadServerCredentialsException | The credentials that are used to connect to the connected
directory are not valid. When this exception is thrown by this
method, the run stops and the WMI Provider returns the string
stopped-bad-server-credentials.
This exception does not generate an event log entry. |
EntryPointNotImplementedException | The rules extension does not implement this method. When this
exception is thrown by this method, the run stops and the WMI
Provider returns the string
stopped-entry-point-not-implemented.
This exception does not generate an event log entry. |
ExtensibleExtensionException | An unexpected error occurred in the extension. When this
exception is thrown by this method, the run stops and the WMI
Provider returns the string
stopped-extensible-extension-error.
This exception generates an event log entry. |
ServerDownException | The connected directory extension cannot establish a connection
to the connected directory. When this exception is thrown by this
method, the run stops and the WMI Provider returns the string
stopped-server-down.
This exception does not generate an event log entry. |
UnexpectedDataException | The method received unexpected data. When this exception is
thrown by this method, the run stops and the WMI Provider returns
the string stopped-unexpected-data.
This exception generates an event log entry. |
All the exceptions described in this topic stop a run. If the method throws an exception that is not described in this topic, the run continues. If the run stops, the WMI Provider returns the string stopped-extension-dll-exception and generates an event log entry.
All data in MIIS uses the Unicode character set. If the connected data source that imports the data into the metaverse uses a different character set, use this method to convert the imported data to the Unicode character set.
Watermark data can be passed to the customData parameter. Do not rely upon watermark data to be accurate in the customData parameter. The watermark data can remain even after the connector space has been deleted. Instead of relying upon the watermark data in this parameter, create the watermark in this method.
Product: Microsoft Identity Integration Server 2003
Service Pack 1
Namespace: Defined in Microsoft.MetadirectoryServices.
Assembly: Requires Microsoft.MetadirectoryServices (in
Microsoft.MetadirectoryServices.dll).
.NET Framework: Requires .NET Framework 1.1.