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.
Throws if this resource doesn't have the specified service reference with the specified type.
Namespace: Microsoft.TeamFoundation.Server.Core
Assembly: Microsoft.TeamFoundation.Server.Core (in Microsoft.TeamFoundation.Server.Core.dll)
Syntax
'Declaration
Public Sub CheckServiceReferenceConstraints ( _
resource As CatalogResource, _
constraints As ServiceReferenceConstraint() _
)
public void CheckServiceReferenceConstraints(
CatalogResource resource,
ServiceReferenceConstraint[] constraints
)
public:
void CheckServiceReferenceConstraints(
CatalogResource^ resource,
array<ServiceReferenceConstraint^>^ constraints
)
member CheckServiceReferenceConstraints :
resource:CatalogResource *
constraints:ServiceReferenceConstraint[] -> unit
public function CheckServiceReferenceConstraints(
resource : CatalogResource,
constraints : ServiceReferenceConstraint[]
)
Parameters
- resource
Type: Microsoft.TeamFoundation.Server.Core.CatalogResource
- constraints
Type: array<Microsoft.TeamFoundation.Server.Core.ServiceReferenceConstraint[]
.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.