Partilhar via


Propriedade do RDL WmiConnectionInfo.Timeout

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 (em Microsoft.SqlServer.SqlWmiManagement.dll)

Sintaxe

'Declaração
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 da propriedade

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

Exemplos

Gerenciando serviços e configurações de rede através do provedor do WMI

Consulte também

Referência

WmiConnectionInfo Classe

Namespace Microsoft.SqlServer.Management.Smo.Wmi

Outros recursos

WMI and SQL Server

Conectando ao Mecanismo de Banco de Dados do SQL Server