Compartir a través de


WmiConnectionInfo.Timeout Propiedad

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

Espacio de nombres:  Microsoft.SqlServer.Management.Smo.Wmi
Ensamblado:  Microsoft.SqlServer.SqlWmiManagement (en Microsoft.SqlServer.SqlWmiManagement.dll)

Sintaxis

'Declaración
Public Property Timeout As TimeSpan 
    Get 
    Set
'Uso
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)

Valor de la propiedad

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

Ejemplos

Administrar servicios y configuración de red utilizando el proveedor WMI

Vea también

Referencia

WmiConnectionInfo Clase

Espacio de nombres Microsoft.SqlServer.Management.Smo.Wmi

Otros recursos

WMI and SQL Server

Conectar al Motor de base de datos de SQL Server