TeamFoundationResourceManagementService.CreateComponentRaw<TComponent> 方法
您可以從資料庫讀取服務版本建立已建立版本的元件。 不使用快取。
命名空間: Microsoft.TeamFoundation.Framework.Server
組件: Microsoft.TeamFoundation.Framework.Server (在 Microsoft.TeamFoundation.Framework.Server.dll 中)
語法
'宣告
Public Shared Function CreateComponentRaw(Of TComponent As {New, TeamFoundationSqlResourceComponent}) ( _
connectionString As String, _
commandTimeout As Integer, _
deadlockPause As Integer, _
maxDeadlockRetries As Integer, _
handleNoResourceManagementSchema As Boolean _
) As TComponent
public static TComponent CreateComponentRaw<TComponent>(
string connectionString,
int commandTimeout,
int deadlockPause,
int maxDeadlockRetries,
bool handleNoResourceManagementSchema
)
where TComponent : new(), TeamFoundationSqlResourceComponent
型別參數
- TComponent
參數
- connectionString
型別:System.String
- commandTimeout
型別:System.Int32
- deadlockPause
型別:System.Int32
- maxDeadlockRetries
型別:System.Int32
- handleNoResourceManagementSchema
型別:System.Boolean
傳回值
型別:TComponent
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。