Share via


TeamFoundationDatabaseManagementService.CopyDatabase Method (TeamFoundationRequestContext, Int32, String, TimeSpan)

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, _
    timeout As TimeSpan _
) As TeamFoundationDatabaseProperties
public TeamFoundationDatabaseProperties CopyDatabase(
    TeamFoundationRequestContext requestContext,
    int sourceDatabaseId,
    string destinationDatabaseName,
    TimeSpan timeout
)
public:
TeamFoundationDatabaseProperties^ CopyDatabase(
    TeamFoundationRequestContext^ requestContext, 
    int sourceDatabaseId, 
    String^ destinationDatabaseName, 
    TimeSpan timeout
)
member CopyDatabase : 
        requestContext:TeamFoundationRequestContext * 
        sourceDatabaseId:int * 
        destinationDatabaseName:string * 
        timeout:TimeSpan -> TeamFoundationDatabaseProperties
public function CopyDatabase(
    requestContext : TeamFoundationRequestContext, 
    sourceDatabaseId : int, 
    destinationDatabaseName : String, 
    timeout : TimeSpan
) : 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