ComponentCreator<TComponent>.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
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
)
public:
virtual TeamFoundationSqlResourceComponent^ Create(
String^ connectionString,
int commandTimeout,
int deadlockPause,
int maxDeadlockRetries
) sealed
abstract Create :
connectionString:string *
commandTimeout:int *
deadlockPause:int *
maxDeadlockRetries:int -> TeamFoundationSqlResourceComponent
override Create :
connectionString:string *
commandTimeout:int *
deadlockPause:int *
maxDeadlockRetries:int -> TeamFoundationSqlResourceComponent
public final 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
Implements
IComponentCreator.Create(String, Int32, Int32, Int32)
.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.