All requests placed through the Forefront Identity Manager Certificate Management (FIM CM) SQL API are submitted to the SQL Server for scheduled processing. The SQL API does not provide an event to alert the administrator when a smart card request is processed. To monitor the status of a request, the application queries the server by calling the externalGetStatus API as shown in the following example:
DECLARE @RC int DECLARE @request_uuid uniqueidentifier -- Set parameter values Set @request_uuid = '43C39520-0155-4283-907A-C7E878249241' EXEC @RC = [CLM].[dbo].[externalGetStatus] @request_uuid PRINT @RC
Note: The returned status specifies the status of the pending
request, not the status of the smart card itself. The
request_uuid would have been returned by the FIM CM
SQL API during creation.