Share via


TeamFoundationDatabaseManagementService.PerformDatabaseSplitAnalysis Method

Analyze the tenant usage of the given database and return a list of the tenant hostIds which should be split out based on the given method

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

Syntax

'Declaration
Public Function PerformDatabaseSplitAnalysis ( _
    requestContext As TeamFoundationRequestContext, _
    databaseId As Integer, _
    splitFactor As SplitFactor, _
    splitMethod As SplitMethod _
) As DatabaseSplitAnalysisResult
public DatabaseSplitAnalysisResult PerformDatabaseSplitAnalysis(
    TeamFoundationRequestContext requestContext,
    int databaseId,
    SplitFactor splitFactor,
    SplitMethod splitMethod
)
public:
DatabaseSplitAnalysisResult^ PerformDatabaseSplitAnalysis(
    TeamFoundationRequestContext^ requestContext, 
    int databaseId, 
    SplitFactor splitFactor, 
    SplitMethod splitMethod
)
member PerformDatabaseSplitAnalysis : 
        requestContext:TeamFoundationRequestContext * 
        databaseId:int * 
        splitFactor:SplitFactor * 
        splitMethod:SplitMethod -> DatabaseSplitAnalysisResult
public function PerformDatabaseSplitAnalysis(
    requestContext : TeamFoundationRequestContext, 
    databaseId : int, 
    splitFactor : SplitFactor, 
    splitMethod : SplitMethod
) : DatabaseSplitAnalysisResult

Parameters

  • databaseId
    Type: System.Int32

    The id of the database to analyze

Return Value

Type: Microsoft.TeamFoundation.Framework.Server.DatabaseSplitAnalysisResult
The list of tenantIds to split out

.NET Framework Security

See Also

Reference

TeamFoundationDatabaseManagementService Class

Microsoft.TeamFoundation.Framework.Server Namespace