SqlFileStream.WriteTimeout Property
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets a value, in milliseconds, that determines how long the stream will attempt to write before timing out.
public:
virtual property int WriteTimeout { int get(); void set(int value); };
public:
virtual property int WriteTimeout { int get(); };
C#
[System.Runtime.InteropServices.ComVisible(false)]
public override int WriteTimeout { get; set; }
C#
public override int WriteTimeout { get; }
[<System.Runtime.InteropServices.ComVisible(false)>]
member this.WriteTimeout : int with get, set
member this.WriteTimeout : int
Public Overrides Property WriteTimeout As Integer
Public Overrides ReadOnly Property WriteTimeout As Integer
A value, in milliseconds, that determines how long the stream will attempt to write before timing out.
- Attributes
Product | Versions |
---|---|
SqlClient .NET Core | 1.1, 2.0, 2.1, 3.0, 3.1, 4.0, 4.1, 5.0, 5.1, 5.2 |
SqlClient .NET Framework | 1.1, 2.0, 2.1, 3.0, 3.1, 4.0, 4.1, 5.0, 5.1, 5.2 |
SqlClient .NET Standard | 3.0, 3.1, 4.0, 4.1, 5.0, 5.1, 5.2 |