Share via


WorkloadGroup.RequestMaximumCpuTimeInSeconds Property

Gets or sets the request maximum CPU time in seconds

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

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property RequestMaximumCpuTimeInSeconds As Integer
    Get
    Set
'Usage
Dim instance As WorkloadGroup
Dim value As Integer

value = instance.RequestMaximumCpuTimeInSeconds

instance.RequestMaximumCpuTimeInSeconds = value
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public int RequestMaximumCpuTimeInSeconds { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
property int RequestMaximumCpuTimeInSeconds {
    int get ();
    void set (int value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
member RequestMaximumCpuTimeInSeconds : int with get, set
function get RequestMaximumCpuTimeInSeconds () : int
function set RequestMaximumCpuTimeInSeconds (value : int)

Property Value

Type: System.Int32
An Int32 value that specifies the maximum CPU time in seconds.