ComponentCreator<TComponent>.Create, méthode (String, Int32, Int32, Int32)

Crée un composant avec la chaîne de connexion.

Espace de noms :  Microsoft.TeamFoundation.Framework.Server
Assembly :  Microsoft.TeamFoundation.Framework.Server (dans Microsoft.TeamFoundation.Framework.Server.dll)

Syntaxe

'Déclaration
Public Function Create ( _
    connectionString As String, _
    commandTimeout As Integer, _
    deadlockPause As Integer, _
    maxDeadlockRetries As Integer _
) As TeamFoundationSqlResourceComponent
public TeamFoundationSqlResourceComponent Create(
    string connectionString,
    int commandTimeout,
    int deadlockPause,
    int maxDeadlockRetries
)

Paramètres

  • commandTimeout
    Type : System.Int32
    Délai d'attente de commande.
  • deadlockPause
    Type : System.Int32
    Suspendre d'interblocage.
  • maxDeadlockRetries
    Type : System.Int32
    Nombre maximal de relances.

Valeur de retour

Type : Microsoft.TeamFoundation.Framework.Server.TeamFoundationSqlResourceComponent

Implémentations

IComponentCreator.Create(String, Int32, Int32, Int32)

Sécurité .NET Framework

Voir aussi

Référence

ComponentCreator<TComponent> Classe

Create, surcharge

Microsoft.TeamFoundation.Framework.Server, espace de noms