IComponentCreator.Create 方法 (ISqlConnectionInfo, Int32, Int32, Int32, ITFLogger)
命名空間: Microsoft.TeamFoundation.Framework.Server
組件: Microsoft.TeamFoundation.Framework.Server (在 Microsoft.TeamFoundation.Framework.Server.dll 中)
語法
'宣告
Function Create ( _
connectionInfo As ISqlConnectionInfo, _
commandTimeout As Integer, _
deadlockPause As Integer, _
maxDeadlockRetries As Integer, _
logger As ITFLogger _
) As ISqlResourceComponent
ISqlResourceComponent Create(
ISqlConnectionInfo connectionInfo,
int commandTimeout,
int deadlockPause,
int maxDeadlockRetries,
ITFLogger logger
)
參數
- connectionInfo
類型:Microsoft.TeamFoundation.Framework.Server.ISqlConnectionInfo
- commandTimeout
類型:System.Int32
- deadlockPause
類型:System.Int32
- maxDeadlockRetries
類型:System.Int32
傳回值
類型:Microsoft.TeamFoundation.Framework.Server.ISqlResourceComponent
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱 從部分受信任程式碼使用程式庫。