Share via


SMTPConn.Timeout Property

Gets or sets the timeout request made by the connection.

Namespace:  Microsoft.SqlServer.Dts.ManagedConnections
Assembly:  Microsoft.SqlServer.ManagedConnections (in Microsoft.SqlServer.ManagedConnections.dll)

Syntax

'Declaration
Public Property Timeout As Nullable(Of Integer)
    Get 
    Set
'Usage
Dim instance As SMTPConn 
Dim value As Nullable(Of Integer)

value = instance.Timeout

instance.Timeout = value
public Nullable<int> Timeout { get; set; }
public:
property Nullable<int> Timeout {
    Nullable<int> get ();
    void set (Nullable<int> value);
}
member Timeout : Nullable<int> with get, set
function get Timeout () : Nullable<int>
function set Timeout (value : Nullable<int>)

Property Value

Type: System.Nullable<Int32>
The timeout request made by the connection.

See Also

Reference

SMTPConn Class

Microsoft.SqlServer.Dts.ManagedConnections Namespace