IComponentCreator.Create Method (String, Int32, Int32, Int32)
Creates a component using connection string.
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Function Create ( _
connectionString As String, _
commandTimeout As Integer, _
deadlockPause As Integer, _
maxDeadlockRetries As Integer _
) As TeamFoundationSqlResourceComponent
TeamFoundationSqlResourceComponent Create(
string connectionString,
int commandTimeout,
int deadlockPause,
int maxDeadlockRetries
)
TeamFoundationSqlResourceComponent^ Create(
String^ connectionString,
int commandTimeout,
int deadlockPause,
int maxDeadlockRetries
)
abstract Create :
connectionString:string *
commandTimeout:int *
deadlockPause:int *
maxDeadlockRetries:int -> TeamFoundationSqlResourceComponent
function Create(
connectionString : String,
commandTimeout : int,
deadlockPause : int,
maxDeadlockRetries : int
) : TeamFoundationSqlResourceComponent
Parameters
connectionString
Type: System.StringConnection string.
commandTimeout
Type: System.Int32Command time-out.
deadlockPause
Type: System.Int32Deadlock pause.
maxDeadlockRetries
Type: System.Int32Maximum number of retries.
Return Value
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationSqlResourceComponent
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.