共用方式為


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
)

參數

傳回值

型別:Microsoft.TeamFoundation.Framework.Server.TeamFoundationDatabaseProperties

.NET Framework 安全性

請參閱

參考

TeamFoundationDatabaseManagementService 類別

Microsoft.TeamFoundation.Framework.Server 命名空間