IServerPerformanceFacet.MaxDegreeOfParallelism Property
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
<DisplayNameKeyAttribute("ServerPerformanceName")> _
<DisplayDescriptionKeyAttribute("ServerPerformanceDesc")> _
Property MaxDegreeOfParallelism As Integer
Get
Set
'Usage
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)
Property Value
Type: System.Int32
The MaxDegreeOfParallelism property for an instance of SQL Server.