共用方式為


IServerPerformanceFacet.MaxDegreeOfParallelism 屬性

Gets or sets the MaxDegreeOfParallelism property for an instance of SQL Server.

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
<DisplayNameKeyAttribute("ServerPerformanceName")> _
<DisplayDescriptionKeyAttribute("ServerPerformanceDesc")> _
Property MaxDegreeOfParallelism As Integer 
    Get 
    Set
'用途
Dim instance As IServerPerformanceFacet 
Dim value As Integer 

value = instance.MaxDegreeOfParallelism

instance.MaxDegreeOfParallelism = value
[DisplayNameKeyAttribute("ServerPerformanceName")]
[DisplayDescriptionKeyAttribute("ServerPerformanceDesc")]
int MaxDegreeOfParallelism { get; set; }
[DisplayNameKeyAttribute(L"ServerPerformanceName")]
[DisplayDescriptionKeyAttribute(L"ServerPerformanceDesc")]
property int MaxDegreeOfParallelism {
    int get ();
    void set (int value);
}
[<DisplayNameKeyAttribute("ServerPerformanceName")>]
[<DisplayDescriptionKeyAttribute("ServerPerformanceDesc")>]
abstract MaxDegreeOfParallelism : int with get, set
function get MaxDegreeOfParallelism () : int 
function set MaxDegreeOfParallelism (value : int)

屬性值

型別:System.Int32
The MaxDegreeOfParallelism property for an instance of SQL Server.

請參閱

參考

IServerPerformanceFacet 介面

Microsoft.SqlServer.Management.Smo 命名空間