Condividi tramite


Proprietà MaxDegreeOfParallelism

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

Spazio dei nomi  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Sintassi

'Dichiarazione
<DisplayDescriptionKeyAttribute("ServerPerformanceDesc")> _
<DisplayNameKeyAttribute("ServerPerformanceName")> _
Property MaxDegreeOfParallelism As Integer
    Get
    Set
'Utilizzo
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)

Valore proprietà

Tipo: System. . :: . .Int32
Int32