다음을 통해 공유


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.