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
- requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
- sourceDatabaseId
Type: System.Int32
- serviceHostIds
Type: array<System.Guid[]
- destinationDatabaseName
Type: System.String
- logger
Type: Microsoft.TeamFoundation.Common.ITFLogger
Return Value
Type: Microsoft.TeamFoundation.Framework.Server.ServicingIssues
Returns ServicingIssues.
.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.