SPTrustedSecurityTokenServiceCollection.Add method
Adds newObj to the collection.
Namespace: Microsoft.SharePoint.Administration.Claims
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Overrides Function Add ( _
newObj As SPTrustedSecurityTokenService _
) As SPTrustedSecurityTokenService
'Usage
Dim instance As SPTrustedSecurityTokenServiceCollection
Dim newObj As SPTrustedSecurityTokenService
Dim returnValue As SPTrustedSecurityTokenService
returnValue = instance.Add(newObj)
public override SPTrustedSecurityTokenService Add(
SPTrustedSecurityTokenService newObj
)
Parameters
Return value
Type: Microsoft.SharePoint.Administration.Claims.SPTrustedSecurityTokenService
Remarks
Makes sure there is no IdentityTokenIssuers or TrustedSecurityTokenServices with the same Name
See also
Reference
SPTrustedSecurityTokenServiceCollection class