TeamFoundationDatabaseManagementService.CreateDatabase 方法
命名空間: Microsoft.TeamFoundation.Framework.Server
組件: Microsoft.TeamFoundation.Framework.Server (在 Microsoft.TeamFoundation.Framework.Server.dll 中)
語法
'宣告
Public Function CreateDatabase ( _
deploymentRequestContext As TeamFoundationRequestContext, _
databaseName As String, _
collation As String, _
poolName As String, _
dataTierConnectionString As String, _
databaseType As TeamFoundationDatabaseType, _
logger As ITFLogger _
) As TeamFoundationDatabaseProperties
public TeamFoundationDatabaseProperties CreateDatabase(
TeamFoundationRequestContext deploymentRequestContext,
string databaseName,
string collation,
string poolName,
string dataTierConnectionString,
TeamFoundationDatabaseType databaseType,
ITFLogger logger
)
參數
- deploymentRequestContext
型別:Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
- databaseName
型別:System.String
- collation
型別:System.String
- poolName
型別:System.String
- dataTierConnectionString
型別:System.String
傳回值
型別:Microsoft.TeamFoundation.Framework.Server.TeamFoundationDatabaseProperties
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。