다음을 통해 공유


MaxWorkerThreads 속성

Gets the MaxWorkerThreads property for an instance of SQL Server.

네임스페이스:  Microsoft.SqlServer.Management.Smo
어셈블리:  Microsoft.SqlServer.Smo.dll의 Microsoft.SqlServer.Smo

구문

‘선언
<DisplayNameKeyAttribute("MaxWorkerThreadsName")> _
<PostConfigurationActionAttribute(PostConfigurationAction.RestartService)> _
<DisplayDescriptionKeyAttribute("MaxWorkerThreadsDesc")> _
Property MaxWorkerThreads As Integer
    Get
    Set
‘사용 방법
Dim instance As IServerPerformanceFacet
Dim value As Integer

value = instance.MaxWorkerThreads

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

속성 값

형식: System. . :: . .Int32
Int32