Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
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
'Declaration
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.ProjectCreationContextThe ProjectCreationContext that is associated with the current process.
sourceId
Type: System.StringThe uniform resource identifier (URI) of the source artifact.
targetUri
Type: System.StringThe URI of the target artifact.
type
Type: System.StringThe 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.