共用方式為


TeamFoundationDatabaseManagementService.CopyDatabase 方法 (TeamFoundationRequestContext, Int32, String, TimeSpan)

命名空間:  Microsoft.TeamFoundation.Framework.Server
組件:  Microsoft.TeamFoundation.Framework.Server (在 Microsoft.TeamFoundation.Framework.Server.dll 中)

語法

'宣告
Public Function CopyDatabase ( _
    requestContext As TeamFoundationRequestContext, _
    sourceDatabaseId As Integer, _
    destinationDatabaseName As String, _
    timeout As TimeSpan _
) As TeamFoundationDatabaseProperties
public TeamFoundationDatabaseProperties CopyDatabase(
    TeamFoundationRequestContext requestContext,
    int sourceDatabaseId,
    string destinationDatabaseName,
    TimeSpan timeout
)

參數

傳回值

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

.NET Framework 安全性

請參閱

參考

TeamFoundationDatabaseManagementService 類別

CopyDatabase 多載

Microsoft.TeamFoundation.Framework.Server 命名空間