Compartilhar via


Propriedade do RDL Configuration.CostThresholdForParallelism

Gets the ConfigProperty object that is used to set the cost threshold for parallelism configuration option.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)

Sintaxe

'Declaração
Public ReadOnly Property CostThresholdForParallelism As ConfigProperty 
    Get
'Uso
Dim instance As Configuration 
Dim value As ConfigProperty 

value = instance.CostThresholdForParallelism
public ConfigProperty CostThresholdForParallelism { get; }
public:
property ConfigProperty^ CostThresholdForParallelism {
    ConfigProperty^ get ();
}
member CostThresholdForParallelism : ConfigProperty
function get CostThresholdForParallelism () : ConfigProperty

Valor da propriedade

Tipo: Microsoft.SqlServer.Management.Smo.ConfigProperty
A ConfigProperty object that specifies the settings for the cost threshold for parallelism configuration option.

Comentários

This property specifies the maximum query execution time for a serial plan on a symmetric multiprocessor (SMP) system. If the estimated execution time is larger than this value, a parallel plan is executed.

Exemplos

Configurando o SQL Server no SMO

Consulte também

Referência

Configuration Classe

Namespace Microsoft.SqlServer.Management.Smo

Outros recursos

Opções de configuração de servidor

sp_configure (Transact-SQL)