ServerSettings.GetAlternateUrls 方法
取得特定網站集合替代的 Url。
命名空間: Microsoft.SharePoint.Client
組件: Microsoft.SharePoint.Client.Silverlight (在 Microsoft.SharePoint.Client.Silverlight.dll 中); Microsoft.SharePoint.Client.Phone (在 Microsoft.SharePoint.Client.Phone.dll 中) Microsoft.SharePoint.Client (在 Microsoft.SharePoint.Client.dll 中)
語法
'宣告
Public Shared Function GetAlternateUrls ( _
context As ClientRuntimeContext _
) As ClientObjectList(Of AlternateUrl)
'用途
Dim context As ClientRuntimeContext
Dim returnValue As ClientObjectList(Of AlternateUrl)
returnValue = ServerSettings.GetAlternateUrls(context)
public static ClientObjectList<AlternateUrl> GetAlternateUrls(
ClientRuntimeContext context
)
參數
context
類型:Microsoft.SharePoint.Client.ClientRuntimeContext執行階段內容。
傳回值
類型:Microsoft.SharePoint.Client.ClientObjectList<AlternateUrl>
替代 Url 集合。