Delen via


TeamFoundationDatabaseSettings.ValidateCategory Method

ValidateCategory is used to make sure that the requestContext has the right to access the database and that the schema version matches between the component and the extended property

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

Syntax

'Declaration
Public Sub ValidateCategory ( _
    requestContext As TeamFoundationRequestContext, _
    databaseCategory As String _
)
public void ValidateCategory(
    TeamFoundationRequestContext requestContext,
    string databaseCategory
)
public:
void ValidateCategory(
    TeamFoundationRequestContext^ requestContext, 
    String^ databaseCategory
)
member ValidateCategory : 
        requestContext:TeamFoundationRequestContext * 
        databaseCategory:string -> unit
public function ValidateCategory(
    requestContext : TeamFoundationRequestContext, 
    databaseCategory : String
)

Parameters

.NET Framework Security

See Also

Reference

TeamFoundationDatabaseSettings Class

Microsoft.TeamFoundation.Framework.Server Namespace