Site.PrimaryUri 屬性
指定此網站集合 (包括主機名稱、連接埠號碼和路徑) 的主要 URI。
命名空間: 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 ReadOnly Property PrimaryUri As String
Get
'用途
Dim instance As Site
Dim value As String
value = instance.PrimaryUri
public string PrimaryUri { get; }