IProjectComponentCreator.CreateLink Method
Creates a link to the target of the specified type from the specified source artifact.
Namespace: Microsoft.TeamFoundation.Client
Assembly: Microsoft.VisualStudio.TeamFoundation.Client (in Microsoft.VisualStudio.TeamFoundation.Client.dll)
Syntax
'Декларация
Sub CreateLink ( _
ctxt As ProjectCreationContext, _
sourceId As String, _
targetUri As String, _
type As String _
)
void CreateLink(
ProjectCreationContext ctxt,
string sourceId,
string targetUri,
string type
)
void CreateLink(
ProjectCreationContext^ ctxt,
String^ sourceId,
String^ targetUri,
String^ type
)
abstract CreateLink :
ctxt:ProjectCreationContext *
sourceId:string *
targetUri:string *
type:string -> unit
function CreateLink(
ctxt : ProjectCreationContext,
sourceId : String,
targetUri : String,
type : String
)
Parameters
- ctxt
Type: Microsoft.TeamFoundation.Client.ProjectCreationContext
The ProjectCreationContext that is associated with the current process.
- sourceId
Type: System.String
The uniform resource identifier (URI) of the source artifact.
- targetUri
Type: System.String
The URI of the target artifact.
- type
Type: System.String
The type of the target artifact.
.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.