MSSqlLocalDBApi.ShareInstance(SecurityIdentifier, String, String) Method
Shares the specified SQL Server Express LocalDB instance with other users with the specified shared name.
Namespace: DevExpress.Xpo.DB.Helpers
Assembly: DevExpress.Xpo.v24.1.dll
NuGet Packages: DevExpress.Win.PivotGrid, DevExpress.Win.TreeMap, DevExpress.Xpo
NuGet Package: DevExpress.Xpo
Declaration
Parameters
Name | Type | Description |
---|---|---|
sid | SecurityIdentifier | A System.Security.Principal.Security object which is the security identifier (SID) of the instance owner. |
instancePrivateName | String | A string that is the private name for the LocalDB instance to be shared. |
instanceSharedName | String | A string that is the shared name for the LocalDB instance to be shared. |
Remarks
Calls the LocalDBShareInstance function internally.
See Also