WorkflowServiceHelper.EnsureTrustedSecurityTokenService - Méthode
Obtient ou crée un SPTrustedSecurityTokenService utilisables par les services de flux de travail
Espace de noms : Microsoft.SharePoint.WorkflowServices
Assembly : Microsoft.SharePoint.WorkflowServicesBase (dans Microsoft.SharePoint.WorkflowServicesBase.dll)
Syntaxe
'Déclaration
Public Shared Function EnsureTrustedSecurityTokenService ( _
metadataEndpoint As Uri, _
allowHttp As Boolean _
) As SPTrustedSecurityTokenService
'Utilisation
Dim metadataEndpoint As Uri
Dim allowHttp As Boolean
Dim returnValue As SPTrustedSecurityTokenService
returnValue = WorkflowServiceHelper.EnsureTrustedSecurityTokenService(metadataEndpoint, _
allowHttp)
public static SPTrustedSecurityTokenService EnsureTrustedSecurityTokenService(
Uri metadataEndpoint,
bool allowHttp
)
Paramètres
- metadataEndpoint
Type : System.Uri
- allowHttp
Type : System.Boolean
Valeur renvoyée
Type : Microsoft.SharePoint.Administration.Claims.SPTrustedSecurityTokenService
SPTrustedSecurityTokenService pour la gestion des flux de travail.