Partilhar via


CredentialSet.GetServiceTokens Method

Gets the set of security credentials that are associated with the Web service.

Namespace: Microsoft.Web.Services3.Security
Assembly: Microsoft.Web.Services3 (in microsoft.web.services3.dll)

Usage

'Usage
Dim returnValue As IEnumerable(Of SecurityToken)
Dim credentialSet1 As CredentialSet
returnValue = credentialSet1.GetServiceTokens()

Syntax

'Declaration
Public Function GetServiceTokens() As IEnumerable(Of SecurityToken)
public IEnumerable<SecurityToken> GetServiceTokens();
public:
IEnumerable<SecurityToken^>^ GetServiceTokens();
public IEnumerable<SecurityToken> GetServiceTokens();
JScript does not support Generics.

Return Value

An System.Collections.Generic.IEnumerable of SecurityToken that represents the security credentials of the Web service.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows 2000, Windows 2000 Server, Windows 2000 Advanced Server

Target Platforms

See Also

Reference

CredentialSet Class
CredentialSet Members
Microsoft.Web.Services3.Security Namespace