IServerPerformanceFacet.MaxWorkerThreads 属性

Gets the MaxWorkerThreads property for an instance of SQL Server.

命名空间:  Microsoft.SqlServer.Management.Smo
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
<DisplayNameKeyAttribute("MaxWorkerThreadsName")> _
<DisplayDescriptionKeyAttribute("MaxWorkerThreadsDesc")> _
<PostConfigurationActionAttribute(PostConfigurationAction.RestartService)> _
Property MaxWorkerThreads As Integer 
    Get 
    Set
用法
Dim instance As IServerPerformanceFacet 
Dim value As Integer 

value = instance.MaxWorkerThreads

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

属性值

类型:System.Int32
The MaxWorkerThreads property for an instance of SQL Server.

请参阅

参考

IServerPerformanceFacet 接口

Microsoft.SqlServer.Management.Smo 命名空间