Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Creates a component that can be used to communicate to the current version of the database.
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Public Overridable Function CreateComponent(Of TComponent As {New, TeamFoundationSqlResourceComponent}) As TComponent
public virtual TComponent CreateComponent<TComponent>()
where TComponent : new(), TeamFoundationSqlResourceComponent
public:
generic<typename TComponent>
where TComponent : gcnew(), TeamFoundationSqlResourceComponent
virtual TComponent CreateComponent()
abstract CreateComponent : unit -> 'TComponent when 'TComponent : new() and TeamFoundationSqlResourceComponent
override CreateComponent : unit -> 'TComponent when 'TComponent : new() and TeamFoundationSqlResourceComponent
JScript does not support generic types or methods.
Type Parameters
- TComponent
The type of component to create.
Return Value
Type: TComponent
.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.