Share via


WmiConnectionInfo.Timeout Property

Gets or sets the period after which the Windows Management Instrumentation (WMI) connection times out in seconds.

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

Syntax

'Declaration
Public Property Timeout As TimeSpan 
    Get 
    Set
'Usage
Dim instance As WmiConnectionInfo 
Dim value As TimeSpan 

value = instance.Timeout

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

Property Value

Type: System.TimeSpan
An Int32 value that specifies the period after which the WMI connection times out in seconds.

Examples

Managing Services and Network Settings by Using WMI Provider

See Also

Reference

WmiConnectionInfo Class

Microsoft.SqlServer.Management.Smo.Wmi Namespace

Other Resources

WMI and SQL Server

Connecting to the SQL Server Database Engine