共用方式為


IServerConfigurationFacet.UserConnections 屬性

Gets or sets the connections of the user.

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
<PostConfigurationActionAttribute(PostConfigurationAction.RestartService)> _
Property UserConnections As Integer 
    Get 
    Set
'用途
Dim instance As IServerConfigurationFacet 
Dim value As Integer 

value = instance.UserConnections

instance.UserConnections = value
[PostConfigurationActionAttribute(PostConfigurationAction.RestartService)]
int UserConnections { get; set; }
[PostConfigurationActionAttribute(PostConfigurationAction::RestartService)]
property int UserConnections {
    int get ();
    void set (int value);
}
[<PostConfigurationActionAttribute(PostConfigurationAction.RestartService)>]
abstract UserConnections : int with get, set
function get UserConnections () : int 
function set UserConnections (value : int)

屬性值

型別:System.Int32
The connections of the user.

請參閱

參考

IServerConfigurationFacet 介面

Microsoft.SqlServer.Management.Smo 命名空間