Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
- 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.