共用方式為


IServerConfigurationFacet.MaxWorkerThreads 屬性

Gets the MaxWorkerThreads property value.

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

語法

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

value = instance.MaxWorkerThreads

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

屬性值

型別:System.Int32
The MaxWorkerThreads property value.

請參閱

參考

IServerConfigurationFacet 介面

Microsoft.SqlServer.Management.Smo 命名空間