共用方式為


VersionControlIntegration.GetArtifacts Method

Return a list of artifacts corresponding to elements of ArtifactUriList.

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

Syntax

'Declaration
<WebMethodAttribute> _
<SoapDocumentMethodAttribute(Action := "https://schemas.microsoft.com/TeamFoundation/2005/06/Services/Linking/03/GetArtifacts")> _
Public Function GetArtifacts ( _
    artifactUris As String() _
) As Artifact()
[WebMethodAttribute]
[SoapDocumentMethodAttribute(Action = "https://schemas.microsoft.com/TeamFoundation/2005/06/Services/Linking/03/GetArtifacts")]
public Artifact[] GetArtifacts(
    string[] artifactUris
)
[WebMethodAttribute]
[SoapDocumentMethodAttribute(Action = L"https://schemas.microsoft.com/TeamFoundation/2005/06/Services/Linking/03/GetArtifacts")]
public:
array<Artifact^>^ GetArtifacts(
    array<String^>^ artifactUris
)
[<WebMethodAttribute>]
[<SoapDocumentMethodAttribute(Action = "https://schemas.microsoft.com/TeamFoundation/2005/06/Services/Linking/03/GetArtifacts")>]
member GetArtifacts : 
        artifactUris:string[] -> Artifact[] 
public function GetArtifacts(
    artifactUris : String[]
) : Artifact[]

Parameters

  • artifactUris
    Type: array<System.String[]

    A list of BIS formatted Uris.

Return Value

Type: array<Microsoft.TeamFoundation.Artifact[]
Returns Artifact.

.NET Framework Security

See Also

Reference

VersionControlIntegration Class

Microsoft.TeamFoundation.VersionControl.Server Namespace