Delen via


TeamFoundationDatabaseManagementService.GetSplitDatabaseIssues Method

Call before split to provide interactive feedback on potential issues earlier and avoid queueing a job which will fail Ultimately, SplitDatabase will also call this method when the job runs. If there are input issues (null etc...) it will throw. If there are environmental issues that are being checked, it will successfully return a list of the issues. It should not throw.

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

Syntax

'Declaration
Public Function GetSplitDatabaseIssues ( _
    requestContext As TeamFoundationRequestContext, _
    sourceDatabaseId As Integer, _
    serviceHostIds As Guid(), _
    destinationDatabaseName As String, _
    logger As ITFLogger _
) As ServicingIssues
public ServicingIssues GetSplitDatabaseIssues(
    TeamFoundationRequestContext requestContext,
    int sourceDatabaseId,
    Guid[] serviceHostIds,
    string destinationDatabaseName,
    ITFLogger logger
)
public:
ServicingIssues^ GetSplitDatabaseIssues(
    TeamFoundationRequestContext^ requestContext, 
    int sourceDatabaseId, 
    array<Guid>^ serviceHostIds, 
    String^ destinationDatabaseName, 
    ITFLogger^ logger
)
member GetSplitDatabaseIssues : 
        requestContext:TeamFoundationRequestContext * 
        sourceDatabaseId:int * 
        serviceHostIds:Guid[] * 
        destinationDatabaseName:string * 
        logger:ITFLogger -> ServicingIssues
public function GetSplitDatabaseIssues(
    requestContext : TeamFoundationRequestContext, 
    sourceDatabaseId : int, 
    serviceHostIds : Guid[], 
    destinationDatabaseName : String, 
    logger : ITFLogger
) : ServicingIssues

Parameters

Return Value

Type: Microsoft.TeamFoundation.Framework.Server.ServicingIssues
Returns ServicingIssues.

.NET Framework Security

See Also

Reference

TeamFoundationDatabaseManagementService Class

Microsoft.TeamFoundation.Framework.Server Namespace