SPTrustedClaimTypeInformation.RemoveKnownClaimValue Method
Removes the specified claim value from the known claim value collection represented by the KnownClaimValues property.
Namespace: Microsoft.SharePoint.Administration.Claims
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Sub RemoveKnownClaimValue ( _
value As String _
)
'Usage
Dim instance As SPTrustedClaimTypeInformation
Dim value As String
instance.RemoveKnownClaimValue(value)
public void RemoveKnownClaimValue(
string value
)
Parameters
value
Type: System.StringThe claim value to be removed from the known claim value collection.
Exceptions
Exception | Condition |
---|---|
ArgumentException | IsIdentityClaim is true, value is an empty string, or value is not in the claim value collection. |
ArgumentNullException | value is null . |
Remarks
This method removes a claim value from the collection of known claim values.
See Also
Reference
SPTrustedClaimTypeInformation Class