Share via


StartTransactionCommand.Timeout Property

Gets and sets the value of the Timeout parameter for the Start-Transaction cmdlet.

Namespace: Microsoft.PowerShell.Commands
Assembly: Microsoft.PowerShell.Commands.Management (in Microsoft.PowerShell.Commands.Management.dll)

Usage

'Usage
Dim instance As StartTransactionCommand
Dim value As Integer

value = instance.Timeout

instance.Timeout = value

Syntax

'Declaration
<AliasAttribute(System.String[])> _
<ParameterAttribute> _
Public Property Timeout As Integer
[AliasAttribute(System.String[])] 
[ParameterAttribute] 
public int Timeout { get; set; }
[AliasAttribute(System.String[])] 
[ParameterAttribute] 
public:
property int Timeout {
    int get ();
    void set (int value);
}
/** @property */
public int get_Timeout ()

/** @property */
public void set_Timeout (int value)
public function get Timeout () : int

public function set Timeout (value : int)

Property Value

An Int32 value that indicates the maximum time, in minutes, that the transaction is active. When the timeout expires the transaction is automatically rolled back.

Remarks

This topic is included in this SDK for completeness only. For more information about this cmdlet, see Start-Transaction in the Microsoft TechNet library.

For Help at the command line, type:

get-help start-transaction

Thread Safety

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

Platforms

Target Platforms

See Also

Reference

StartTransactionCommand Class
StartTransactionCommand Members
Microsoft.PowerShell.Commands Namespace

Other Resources

Windows PowerShell SDK