SQLNSModality constants set the modality of the user interface component that is displayed.
| Constant | Value | Description |
|---|---|---|
| SQLNamespace_DontCare | 0 | Default window behavior |
| SQLNamespace_PreferModal | 1 | Modal window behavior if available |
| SQLNamespace_PreferModeless | 2 | Modeless window behavior if available |