ServerInstance.Register<T> Method
Namespace: Microsoft.TeamFoundation.Framework.Server.Alm.Catalog.Objects
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Protected Shared Function Register(Of T As ServerInstance) ( _
machine As Machine, _
displayName As String, _
instanceName As String, _
children As ICollection(Of T) _
) As T
protected static T Register<T>(
Machine machine,
string displayName,
string instanceName,
ICollection<T> children
)
where T : ServerInstance
protected:
generic<typename T>
where T : ServerInstance
static T Register(
Machine^ machine,
String^ displayName,
String^ instanceName,
ICollection<T>^ children
)
static member Register :
machine:Machine *
displayName:string *
instanceName:string *
children:ICollection<'T> -> 'T when 'T : ServerInstance
JScript does not support generic types or methods.
Type Parameters
- T
Parameters
- displayName
Type: System.String
- instanceName
Type: System.String
- children
Type: System.Collections.Generic.ICollection<T>
Return Value
Type: T
.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.
See Also
Reference
Microsoft.TeamFoundation.Framework.Server.Alm.Catalog.Objects Namespace