Partager via


Propriété FullTextService.ConnectTimeout

Gets or sets the time interval allowed for Microsoft Search to try a connection to an instance of SQL Server before timing out.

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

Syntaxe

'Déclaration
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property ConnectTimeout As TimeSpan 
    Get 
    Set
'Utilisation
Dim instance As FullTextService 
Dim value As TimeSpan 

value = instance.ConnectTimeout

instance.ConnectTimeout = value
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public TimeSpan ConnectTimeout { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
property TimeSpan ConnectTimeout {
    TimeSpan get ();
    void set (TimeSpan value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
member ConnectTimeout : TimeSpan with get, set
function get ConnectTimeout () : TimeSpan 
function set ConnectTimeout (value : TimeSpan)

Valeur de propriété

Type : System.TimeSpan
A TimeSpan system object value that specifies the connection time-out interval allowed to try a connection to an instance of SQL Server.

Exemples

Implémentation de la recherche en texte intégral

Voir aussi

Référence

FullTextService Classe

Espace de noms Microsoft.SqlServer.Management.Smo

Autres ressources

Vue d'ensemble de la recherche en texte intégral

CREATE FULLTEXT INDEX (Transact-SQL)

CREATE FULLTEXT CATALOG (Transact-SQL)