共用方式為


SPWebApplication.GetSecurityTokenServiceEndPointAddress method

會傳回端點根據指定的要求區域安全性 token 服務的 URI。

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'宣告
Public Function GetSecurityTokenServiceEndPointAddress ( _
    zone As SPUrlZone _
) As Uri
'用途
Dim instance As SPWebApplication
Dim zone As SPUrlZone
Dim returnValue As Uri

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

參數

傳回值

Type: System.Uri
Uri
端點 URI。

請參閱

參照

SPWebApplication class

SPWebApplication members

Microsoft.SharePoint.Administration namespace