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
- requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
databaseId
Type: System.Int32The id of the database to analyze
- splitFactor
Type: Microsoft.TeamFoundation.Framework.Server.SplitFactor
- splitMethod
Type: Microsoft.TeamFoundation.Framework.Server.SplitMethod
Return Value
Type: Microsoft.TeamFoundation.Framework.Server.DatabaseSplitAnalysisResult
The list of tenantIds to split out
.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.