Partager via


SharedResourceWebService4.QuerySharedResources Method

Queries the state of shared resources registered with the build server.

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

Syntax

'Declaration
<WebMethodAttribute> _
Public Function QuerySharedResources ( _
    resourceNames As String() _
) As List(Of SharedResource)
[WebMethodAttribute]
public List<SharedResource> QuerySharedResources(
    string[] resourceNames
)
[WebMethodAttribute]
public:
List<SharedResource^>^ QuerySharedResources(
    array<String^>^ resourceNames
)
[<WebMethodAttribute>]
member QuerySharedResources : 
        resourceNames:string[] -> List<SharedResource> 
public function QuerySharedResources(
    resourceNames : String[]
) : List<SharedResource>

Parameters

  • resourceNames
    Type: array<System.String[]

    The resources that should be returned. A single element of '*' returns all registered resources.

Return Value

Type: System.Collections.Generic.List<SharedResource>

.NET Framework Security

See Also

Reference

SharedResourceWebService4 Class

Microsoft.TeamFoundation.Build.Server Namespace