ComponentCreator<TComponent>.Create Method (TeamFoundationRequestContext, String)
Creates a component using request context and the database category.
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Public Function Create ( _
requestContext As TeamFoundationRequestContext, _
databaseCategory As String _
) As TeamFoundationSqlResourceComponent
public TeamFoundationSqlResourceComponent Create(
TeamFoundationRequestContext requestContext,
string databaseCategory
)
public:
virtual TeamFoundationSqlResourceComponent^ Create(
TeamFoundationRequestContext^ requestContext,
String^ databaseCategory
) sealed
abstract Create :
requestContext:TeamFoundationRequestContext *
databaseCategory:string -> TeamFoundationSqlResourceComponent
override Create :
requestContext:TeamFoundationRequestContext *
databaseCategory:string -> TeamFoundationSqlResourceComponent
public final function Create(
requestContext : TeamFoundationRequestContext,
databaseCategory : String
) : TeamFoundationSqlResourceComponent
Parameters
requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContextThe request context.
databaseCategory
Type: System.StringDatabase category.
Return Value
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationSqlResourceComponent
Implements
IComponentCreator.Create(TeamFoundationRequestContext, String)
.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.