SPTrustedSecurityTokenServiceCollection.Add 方法

将newObj添加到集合中。

命名空间:  Microsoft.SharePoint.Administration.Claims
程序集:  Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)

语法

声明
Public Overrides Function Add ( _
    newObj As SPTrustedSecurityTokenService _
) As SPTrustedSecurityTokenService
用法
Dim instance As SPTrustedSecurityTokenServiceCollection
Dim newObj As SPTrustedSecurityTokenService
Dim returnValue As SPTrustedSecurityTokenService

returnValue = instance.Add(newObj)
public override SPTrustedSecurityTokenService Add(
    SPTrustedSecurityTokenService newObj
)

参数

返回值

类型:Microsoft.SharePoint.Administration.Claims.SPTrustedSecurityTokenService

备注

确保没有任何 IdentityTokenIssuers 或 TrustedSecurityTokenServices 使用相同的名称

另请参阅

引用

SPTrustedSecurityTokenServiceCollection 类

SPTrustedSecurityTokenServiceCollection 成员

Microsoft.SharePoint.Administration.Claims 命名空间