IsUniqueConnectionName
The IsUniqueConnectionName function determines if a provided connection name is unique.
HRESULT WINAPI IsUniqueConnectionName(
const LPWSTR pszConnectionName
);
Parameters
- pszConnectionName
[in] Name of the connection to be checked for uniqueness.
Return Value
If the function succeeds, it returns S_OK or S_FALSE. The return value S_OK indicates that the connection name is unique. The return value S_FALSE indicates that the connection name is not unique.
If the method fails, the return value is one of the standard error codes.
Requirements
| Client | Requires Windows Vista. |
| DLL | Requires Connect.dll on Windows Vista. |