共用方式為


ISqlServerOptions.MaxWorkerThreads 屬性

取得或設定模型化「最大工作者執行緒」sp_configure 選項的值。

命名空間:  Microsoft.Data.Schema.Sql.SchemaModel
組件:  Microsoft.Data.Schema.Sql (在 Microsoft.Data.Schema.Sql.dll 中)

語法

'宣告
Property MaxWorkerThreads As Nullable(Of Integer)
    Get
    Set
Nullable<int> MaxWorkerThreads { get; set; }
property Nullable<int> MaxWorkerThreads {
    Nullable<int> get ();
    void set (Nullable<int> value);
}
abstract MaxWorkerThreads : Nullable<int> with get, set
function get MaxWorkerThreads () : Nullable<int>
function set MaxWorkerThreads (value : Nullable<int>)

屬性值

型別:System.Nullable<Int32>

.NET Framework 安全性

請參閱

參考

ISqlServerOptions 介面

Microsoft.Data.Schema.Sql.SchemaModel 命名空間