Partager via


Propriété WmiConnectionInfo.Timeout

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

Espace de noms :  Microsoft.SqlServer.Management.Smo.Wmi
Assembly :  Microsoft.SqlServer.SqlWmiManagement (en Microsoft.SqlServer.SqlWmiManagement.dll)

Syntaxe

'Déclaration
Public Property Timeout As TimeSpan 
    Get 
    Set
'Utilisation
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)

Valeur de propriété

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

Exemples

Gestion des services et des paramètres réseau à l'aide du fournisseur WMI

Voir aussi

Référence

WmiConnectionInfo Classe

Espace de noms Microsoft.SqlServer.Management.Smo.Wmi

Autres ressources

WMI and SQL Server

Connexion au moteur de base de données SQL Server