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.
Checks to make sure the resource is the only resource of its type that has the given property key and value underneath pathSpec.
Namespace: Microsoft.TeamFoundation.Server.Core
Assembly: Microsoft.TeamFoundation.Server.Core (in Microsoft.TeamFoundation.Server.Core.dll)
Syntax
'Declaration
Public Sub CheckForDuplicatePropertyValues ( _
requestContext As TeamFoundationRequestContext, _
catalogResource As CatalogResource, _
valueExclusivity As PropertyValueExclusivity, _
propertyName As String, _
propertyValue As String _
)
public void CheckForDuplicatePropertyValues(
TeamFoundationRequestContext requestContext,
CatalogResource catalogResource,
PropertyValueExclusivity valueExclusivity,
string propertyName,
string propertyValue
)
public:
void CheckForDuplicatePropertyValues(
TeamFoundationRequestContext^ requestContext,
CatalogResource^ catalogResource,
PropertyValueExclusivity valueExclusivity,
String^ propertyName,
String^ propertyValue
)
member CheckForDuplicatePropertyValues :
requestContext:TeamFoundationRequestContext *
catalogResource:CatalogResource *
valueExclusivity:PropertyValueExclusivity *
propertyName:string *
propertyValue:string -> unit
public function CheckForDuplicatePropertyValues(
requestContext : TeamFoundationRequestContext,
catalogResource : CatalogResource,
valueExclusivity : PropertyValueExclusivity,
propertyName : String,
propertyValue : String
)
Parameters
- requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
catalogResource
Type: Microsoft.TeamFoundation.Server.Core.CatalogResourceThe resource we are checking for duplicate property values.
valueExclusivity
Type: Microsoft.TeamFoundation.Server.Core.PropertyValueExclusivityThe level of exclusivity to apply.
propertyName
Type: System.StringThe name of the property we are looking for the duplication.
propertyValue
Type: System.StringThe value of the property we are looking for that would be duplicated.
.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.