Partager via


Propriété IRestrictedAccess.SingleConnection

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

Espace de noms :  Microsoft.SqlServer.Management.Common
Assembly :  Microsoft.SqlServer.ConnectionInfo (en Microsoft.SqlServer.ConnectionInfo.dll)

Syntaxe

'Déclaration
Property SingleConnection As Boolean 
    Get 
    Set
'Utilisation
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)

Valeur de propriété

Type : 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.

Voir aussi

Référence

IRestrictedAccess Interface

Espace de noms Microsoft.SqlServer.Management.Common