SingleConnection 属性

Gets or sets the Boolean property that specifies whether access to the server is restricted to a single user.

命名空间:  Microsoft.SqlServer.Management.Common
程序集:  Microsoft.SqlServer.ConnectionInfo(在 Microsoft.SqlServer.ConnectionInfo.dll 中)

语法

声明
Property SingleConnection As Boolean
    Get
    Set
用法
Dim instance As IRestrictedAccess
Dim value As Boolean

value = instance.SingleConnection

instance.SingleConnection = value
bool SingleConnection { get; set; }
property bool SingleConnection {
    bool get ();
    void set (bool value);
}
abstract SingleConnection : bool with get, set
function get SingleConnection () : boolean
function set SingleConnection (value : boolean)

属性值

类型:System. . :: . .Boolean
A Boolean value that specifies whether access to the server is restricted to a single user.
If True, access to the server is restricted to a single user.
If False (default), access to the server is not restricted and multiple users can connect.