Partager via


Propriété IServerPerformanceFacet.MaxDegreeOfParallelism

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

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

Syntaxe

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

Valeur de propriété

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

Voir aussi

Référence

IServerPerformanceFacet Interface

Espace de noms Microsoft.SqlServer.Management.Smo