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
- requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
- sourceDatabaseId
Type: System.Int32
- destinationDatabaseName
Type: System.String
- timeout
Type: System.TimeSpan
Return Value
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationDatabaseProperties
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.