Freigeben über


MaxDegreeOfParallelism-Eigenschaft

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

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
<DisplayDescriptionKeyAttribute("ServerPerformanceDesc")> _
<DisplayNameKeyAttribute("ServerPerformanceName")> _
Property MaxDegreeOfParallelism As Integer
    Get
    Set
'Usage
Dim instance As IServerPerformanceFacet
Dim value As Integer

value = instance.MaxDegreeOfParallelism

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

Eigenschaftswert

Typ: System. . :: . .Int32
Int32