IServerPerformanceFacet.MaxWorkerThreads Property

 

Applies To: SQL Server 2016 Preview

Gets the MaxWorkerThreads property for an instance of SQL Server.

Namespace:   Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

[DisplayDescriptionKeyAttribute("MaxWorkerThreadsDesc")]
[DisplayNameKeyAttribute("MaxWorkerThreadsName")]
[PostConfigurationActionAttribute(PostConfigurationAction.RestartService)]
int MaxWorkerThreads { get; set; }
[DisplayDescriptionKeyAttribute("MaxWorkerThreadsDesc")]
[DisplayNameKeyAttribute("MaxWorkerThreadsName")]
[PostConfigurationActionAttribute(PostConfigurationAction::RestartService)]
property int MaxWorkerThreads {
    int get();
    void set(int value);
}
[<DisplayDescriptionKeyAttribute("MaxWorkerThreadsDesc")>]
[<DisplayNameKeyAttribute("MaxWorkerThreadsName")>]
[<PostConfigurationActionAttribute(PostConfigurationAction.RestartService)>]
abstract MaxWorkerThreads : int with get, set
<DisplayDescriptionKeyAttribute("MaxWorkerThreadsDesc")>
<DisplayNameKeyAttribute("MaxWorkerThreadsName")>
<PostConfigurationActionAttribute(PostConfigurationAction.RestartService)>
Property MaxWorkerThreads As Integer

Property Value

Type: System.Int32

The MaxWorkerThreads property for an instance of SQL Server.

See Also

IServerPerformanceFacet Interface
Microsoft.SqlServer.Management.Smo Namespace

Return to top