| ManagerShareInstance Method |
Shares the specified SQL Server Express LocalDB instance with other users of the computer, using the specified shared name.
Namespace:
usis.Data.LocalDb
Assembly:
usis.Data.LocalDb (in usis.Data.LocalDb.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public void ShareInstance(
string owner,
string instancePrivateName,
string instanceSharedName
)
Public Sub ShareInstance (
owner As String,
instancePrivateName As String,
instanceSharedName As String
)
public:
void ShareInstance(
String^ owner,
String^ instancePrivateName,
String^ instanceSharedName
)
member ShareInstance :
owner : string *
instancePrivateName : string *
instanceSharedName : string -> unit
Parameters
- owner
- Type: SystemString
The SID of the instance owner. - instancePrivateName
- Type: SystemString
The private name for the LocalDB instance to share. - instanceSharedName
- Type: SystemString
The shared name for the LocalDB instance to share.
See Also