共用方式為


SPWebApplication.GetSecurityTokenServiceEndPointAddress Method

Returns the endpoint URI of the security token service based on the specified request zone.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public Function GetSecurityTokenServiceEndPointAddress ( _
    zone As SPUrlZone _
) As Uri
'Usage
Dim instance As SPWebApplication
Dim zone As SPUrlZone
Dim returnValue As Uri

returnValue = instance.GetSecurityTokenServiceEndPointAddress(zone)
public Uri GetSecurityTokenServiceEndPointAddress(
    SPUrlZone zone
)

Parameters

Return Value

Type: System.Uri
Uri
The endpoint URI.

See Also

Reference

SPWebApplication Class

SPWebApplication Members

Microsoft.SharePoint.Administration Namespace