SQL Server のインスタンスの MaxWorkerThreads プロパティを取得します。
名前空間: 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
SQL Server のインスタンスの MaxWorkerThreads プロパティです。