[This is preliminary documentation and subject to change.]
The GetApplicationID method retrieves the application ID set by the SetApplicationID method.
HRESULT GetApplicationID(
  const GUID * pApplicationID
);
 Returns S_OK if there is a valid application ID for the current application instance. If there is not a valid application ID, the function returns E_FAIL.
IBdnApplication::SetApplicationID