Delen via


TeamFoundationDatabaseManagementService.CopyDatabase Method (TeamFoundationRequestContext, Int32, String)

Namespace:  Microsoft.TeamFoundation.Framework.Server
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)

Syntax

'Declaration
Public Function CopyDatabase ( _
    requestContext As TeamFoundationRequestContext, _
    sourceDatabaseId As Integer, _
    destinationDatabaseName As String _
) As TeamFoundationDatabaseProperties
public TeamFoundationDatabaseProperties CopyDatabase(
    TeamFoundationRequestContext requestContext,
    int sourceDatabaseId,
    string destinationDatabaseName
)
public:
TeamFoundationDatabaseProperties^ CopyDatabase(
    TeamFoundationRequestContext^ requestContext, 
    int sourceDatabaseId, 
    String^ destinationDatabaseName
)
member CopyDatabase : 
        requestContext:TeamFoundationRequestContext * 
        sourceDatabaseId:int * 
        destinationDatabaseName:string -> TeamFoundationDatabaseProperties
public function CopyDatabase(
    requestContext : TeamFoundationRequestContext, 
    sourceDatabaseId : int, 
    destinationDatabaseName : String
) : TeamFoundationDatabaseProperties

Parameters

Return Value

Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationDatabaseProperties

.NET Framework Security

See Also

Reference

TeamFoundationDatabaseManagementService Class

CopyDatabase Overload

Microsoft.TeamFoundation.Framework.Server Namespace