Partager via


MaxDegreeOfParallelism propriété

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

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (dans Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
<DisplayDescriptionKeyAttribute("ServerPerformanceDesc")> _
<DisplayNameKeyAttribute("ServerPerformanceName")> _
Property MaxDegreeOfParallelism As Integer
    Get
    Set
'Utilisation
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)

Valeur de la propriété

Type : System. . :: . .Int32
Int32