LocalDBUnshareInstance
07/14/2025 Stops the sharing of the specified SQL Server Express LocalDB instance. C++ [Input] The shared name for the LocalDB instance to unshare.
Stops the sharing of the specified SQL Server Express LocalDB instance.
C++
[Input] The shared name for the LocalDB instance to unshare.
[Input] Reserved for future use. Currently should be set to 0.
: The function succeeded.
Description
LOCALDB_ERROR_NOT_INSTALLED
Express LocalDB isn’t installed on the
computer.
LOCALDB_ERROR_INVALID_PARAMETER
One or more specified input parameters are invalid.
ノ
Expand table
msoledbsql.h
S_OK
HRESULT
LocalDBUnShareInstance (
PCWSTR pInstanceSharedName ,
DWORD dwFlags
);