Freigeben über


Index.MaximumDegreeOfParallelism Property

Gets or sets the maximum number of processors that can be used when running a query that uses the index.

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

Syntax

'Declaration
Public Property MaximumDegreeOfParallelism As Integer
public int MaximumDegreeOfParallelism { get; set; }
public:
property int MaximumDegreeOfParallelism {
    int get ();
    void set (int value);
}
/** @property */
public int get_MaximumDegreeOfParallelism ()

/** @property */
public void set_MaximumDegreeOfParallelism (int value)
public function get MaximumDegreeOfParallelism () : int

public function set MaximumDegreeOfParallelism (value : int)

Eigenschaftswert

An Int32 value that specifies the maximum number of processors that can be used when running a query that uses this index.

Hinweise

If this property is not set, the system default is used.

Der Namespace, die Klasse oder das Element wird nur in der Version 2.0 von Microsoft .NET Framework unterstützt.

How to: Create a Non-Clustered, Composite Index in Visual Basic .NET

Threadsicherheit

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Plattformen

Entwicklungsplattformen

Eine Liste der unterstützten Plattformen finden Sie unterHardware- und Softwareanforderungen für die Installation von SQL Server 2005.

Zielplattforme

Eine Liste der unterstützten Plattformen finden Sie unterHardware- und Softwareanforderungen für die Installation von SQL Server 2005.

Siehe auch

Verweis

Index Class
Index Members
Microsoft.SqlServer.Management.Smo Namespace

Andere Ressourcen

Creating, Altering, and Removing Indexes
Indizes
CREATE INDEX (Transact-SQL)