Partager via


GitCommitArtifactId.GetArtifactIdForCommit Method

Namespace:  Microsoft.TeamFoundation.Git.Server
Assembly:  Microsoft.TeamFoundation.Git.Server (in Microsoft.TeamFoundation.Git.Server.dll)

Syntax

'Declaration
Public Shared Function GetArtifactIdForCommit ( _
    teamProjectUri As String, _
    repositoryId As Guid, _
    objectId As Byte() _
) As ArtifactId
public static ArtifactId GetArtifactIdForCommit(
    string teamProjectUri,
    Guid repositoryId,
    byte[] objectId
)
public:
static ArtifactId^ GetArtifactIdForCommit(
    String^ teamProjectUri, 
    Guid repositoryId, 
    array<unsigned char>^ objectId
)
static member GetArtifactIdForCommit : 
        teamProjectUri:string * 
        repositoryId:Guid * 
        objectId:byte[] -> ArtifactId
public static function GetArtifactIdForCommit(
    teamProjectUri : String, 
    repositoryId : Guid, 
    objectId : byte[]
) : ArtifactId

Parameters

Return Value

Type: Microsoft.TeamFoundation.ArtifactId

.NET Framework Security

See Also

Reference

GitCommitArtifactId Class

Microsoft.TeamFoundation.Git.Server Namespace