Condividi tramite


Metodo ServicingContext.CreateComponent<TComponent>

Spazio dei nomi:  Microsoft.TeamFoundation.Framework.Server
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)

Sintassi

'Dichiarazione
Public Function CreateComponent(Of TComponent As {New, TeamFoundationSqlResourceComponent}) ( _
    databaseCategory As String, _
    partitionId As Integer, _
    commandTimeout As Integer, _
    deadlockPause As Integer, _
    maxDeadlockRetries As Integer _
) As TComponent
public TComponent CreateComponent<TComponent>(
    string databaseCategory,
    int partitionId,
    int commandTimeout,
    int deadlockPause,
    int maxDeadlockRetries
)
where TComponent : new(), TeamFoundationSqlResourceComponent

Parametri di tipo

  • TComponent

Parametri

Valore restituito

Tipo: TComponent

Sicurezza di .NET Framework

Vedere anche

Riferimenti

ServicingContext Classe

Spazio dei nomi Microsoft.TeamFoundation.Framework.Server