This documentation is archived and is not being maintained.
IProjectComponentCreator::CreateLink Method
Visual Studio 2013
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)
void CreateLink(
ProjectCreationContext^ ctxt,
String^ sourceId,
String^ targetUri,
String^ type
)
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.
- 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.
Show: