SPWeb members

Include protected members
Include inherited members

表示SharePoint Foundation網站。

The SPWeb type exposes the following members.

Properties

  Name Description
Public property Alerts 取得網站或子網站的警示的集合。
Public property AllowAnonymousAccess 取得布林值,這個值,指出是否允許匿名存取的網站。
Public property AllowAutomaticASPXPageIndexing 取得或設定布林值,指出是否應該由搜尋引擎索引.aspx 頁面在網站內。
Public property AllowCreateDeclarativeWorkflowForCurrentUser
Public property AllowDesignerForCurrentUser 取得布林值,指出目前的使用者是否可以使用此網站的設計工具。預設值為 false。
Public property AllowMasterPageEditingForCurrentUser 布林值,指定目前的使用者是否可以編輯主版頁面。
Public property AllowRevertFromTemplateForCurrentUser 布林值,指定目前的使用者是否可以從範本還原網站。
Public property AllowRssFeeds 取得布林值,指定該網站是否允許 RSS 摘要。
Public property AllowSaveDeclarativeWorkflowAsTemplateForCurrentUser
Public property AllowSavePublishDeclarativeWorkflowForCurrentUser
Public property AllowUnsafeUpdates 取得或設定布林值,指定是否允許更新到資料庫或結果 GET 要求而不需要安全性驗證。
Public property AllProperties 取得包含網站的中繼資料的雜湊資料表。
Public property AllRolesForCurrentUser 取得目前的使用者所屬的物件上的角色定義的完整清單,對此範圍。 (Inherited from SPSecurableObject.)
Public property AllUsers 取得表示所有的使用者是誰網站的任一成員或誰來瀏覽至站台為已驗證的網域群組成員在站台的使用者物件集合。
Public property AllWebTemplatesAllowed 取得布林值,這個值,指出GetAvailableWebTemplates方法所傳回的可用 Web 範本是否包含一組完整的範本。
Public property AlternateCssUrl 取得或設定替代的階層式樣式表 (CSS),若要在網站中使用的 URL。
Public property AlternateHeader 取得或設定將用來呈現在SharePoint Foundation頁面的頂端瀏覽區域替代的.aspx 頁面的 URL。
Public property AnonymousPermMask64 取得或設定網站的基底匿名使用者的權限。(唯讀在沙箱化解決方案中。)
Public property AnonymousState 取得或設定適用於匿名使用者的存取層級,在網站上。
Public property AppDatabaseName 取得與這個網站相關聯的應用程式資料庫的名稱。這個屬性可以是a null reference (Nothing in Visual Basic)。
Public property AppDatabaseServerReferenceId 取得資料庫所在伺服器的參考識別項。這個屬性可以是a null reference (Nothing in Visual Basic)。
Public property AppDatabaseTargetApplicationId 取得目標應用程式名稱。
Public property AppInstanceId 的執行個體 Id 代表此 web 應用程式執行個體。如果這不是應用程式網頁的 Guid.Empty。
Public property ASPXPageIndexed 取得布林值,指出是否該網站的.aspx 頁面會自動編製索引。
Public property ASPXPageIndexMode 取得或設定.aspx 網頁被列入索引所使用的網站。
Public property AssociatedGroups 取得與網站相關聯的群組清單。
Public property AssociatedMemberGroup 取得已提供的使用者投稿至網站的權限。
Public property AssociatedOwnerGroup 取得或設定網站相關聯的擁有者群組。
Public property AssociatedVisitorGroup 取得或設定相關聯的訪客群組中的網站。
Public property Audit 取得與網站相關聯的稽核記錄檔。
Public property AuthenticationMode Obsolete. 保留給內部使用。
Public property Author 取得或設定一個代表建立網站的使用者的使用者物件。(唯讀在沙箱化解決方案中。)
Public property AvailableContentTypes 取得套用至目前的範圍,包括目前的網站,以及任何父網站的所有內容類型範本的集合。
Public property AvailableFields 取得網站的可用的欄位集合。
Public property CacheAllSchema 取得或設定布林值,指定是否要啟用的網站上的所有結構描述快取。
Public property ClientFormWebData 傳回字典,包含用於 CSR 表單的 web 內容
Public property ClientTag 用戶端快取控制項編號 (用戶端標記) 此網站。
Public property Configuration 取得網站定義設定 (用來建立網站) 的識別碼 (ID),或網站定義設定 (衍生建立網站所用的網站範本) 的識別碼。
Public property ContentTypes 取得網站內容的型別之集合。
Public property Created 取得或設定指出建立網站時的日期和時間值。(唯讀在沙箱化解決方案中。)
Public property CurrencyLocaleID 取得用於網站中的貨幣的地區設定識別項 (LCID)。
Public property CurrentChangeToken 取得下一步] 變更記錄到網站時,會使用變更語彙基元。
Public property CurrentUser 取得網站的目前使用者。
Public property CustomJavaScriptFileUrl CustomJsUrl web 控制項所使用的自訂JavaScript檔案的 URL。
Public property CustomMasterUrl 取得或設定套用於網站的自訂主版頁面檔案 URL。
Public property CustomUploadPage 取得或設定自訂應用程式頁面上載檔案的路徑。
Public property DataRetrievalServicesSettings Obsolete. 取得物件,表示資料擷取服務設定, SharePoint Foundation的部署。
Public property Description 取得或設定網站的描述。
Public property DescriptionResource 取得SPUserResource物件,表示網站描述的轉譯。
Public property DesignerDownloadUrlForCurrentUser
Public property DocTemplates 取得用在網站的文件範本的集合。
Public property DocumentLibraryCalloutOfficeWebAppPreviewersDisabled 決定是否將文件庫圖說文字的 WAC 預覽,啟用與否。
Public property EffectiveBasePermissions 取得指派給目前使用者的有效基底權限。 (Overrides SPSecurableObject.EffectiveBasePermissions.)
Public property EffectivePresenceEnabled 取得布林值,這個值,指出是否在網站上啟用有效的出席資訊。
Public property EmailInsertsEnabled Obsolete. 取得布林值,這個值,指出是否在虛擬伺服器上的文件庫可以接受來自公用資料夾的電子郵件附件。
Public property EnableMinimalDownload 取得或設定布林值,指定的網站是否應該使用最少的下載策略
Public property EventHandlersEnabled Obsolete. 取得布林值,這個值,指出是否可以在網站上使用Windows SharePoint Services 2.0事件處理常式。
Public property EventReceivers 取得網站目前可用的事件接收器定義集合。
Public property ExcludeFromOfflineClient 取得或設定值,指出是否來自網站的資料應該下載至用戶端離線同步處理期間。
Public property ExecuteUrl 取得商務解決方案站台的站台定義具現化後,會呼叫的 URL。
Public property Exists 取得布林值,這個值,指出網站是否存在。
Public property ExternalSecurityProviderSetting Obsolete. 取得由外部的安全性提供者用於網站的設定。
Public property FeatureDefinitions Web 的 FeatureDefinitions
Public property Features 取得目前在網站中已啟動的功能集合。
Public property Fields 取得集合由 field 物件,表示在網站中的所有欄位。
Public property FieldTypeDefinitionCollection 取得的SPFieldTypeDefinition集合物件,代表欄位 」 的網站中的型別定義資訊。
Public property FileDialogPostProcessorId 取得或設定類別識別項 (CLSID) 用來在檔案] 對話方塊和表單的文件庫的網頁檢視的使用者介面項目。
Public property Files 取得網站的根目錄中的所有檔案的集合。
Public property FirstUniqueAncestor Obsolete. 請改用 [ FirstUniqueAncestorSecurableObject ] 屬性。 (Inherited from SPSecurableObject.)
Public property FirstUniqueAncestorSecurableObject ISecurableObject 介面,表示第一個唯一的祖系網站。這是其中定義 ACL 的物件。具有唯一權限的 web 第一個唯一的祖系對於本身。繼承的權限的 web 第一個唯一的祖系是其中一個古老的 web。 (Overrides SPSecurableObject.FirstUniqueAncestorSecurableObject.)
Public property FirstUniqueAncestorWeb 取得第一個具有唯一權限的父網站。
Public property FirstUniqueRoleDefinitionWeb 取得定義目前的站台的角色定義的網站。
Public property Folders 取得在網站中所有的第一層資料夾的集合。
Public property Groups 取得集合,其中包含的網站的所有群組。
Public property HasExternalSecurityProvider Obsolete. 取得布林值,這個值,指出網站是否使用外部的安全性提供者。
Public property HasUniquePerm Obsolete. 取得或設定布林值,這個值,指定該網站是否具有唯一權限。
Public property HasUniqueRoleAssignments 指出物件是否具有唯一的角色指派,或從父系物件繼承其角色指派。 (Inherited from SPSecurableObject.)
Public property HasUniqueRoleDefinitions 取得布林值,這個值,指出是否唯一定義此網站或繼承自父網站的角色定義。
Public property HideSiteContentsLink UX 控制項的控制起落架圖示 (在 SharePoint 2010 中稱為 [網站動作] 功能表) 中的 [網站內容] 連結的外觀。
Public property ID 取得網站中的 GUID。
Public property IncludeSupportingFolders 取得或設定布林值,指定是否會將支援檔案的資料夾或網站中的資料夾包含在檔案或資料夾的列舉型別。
Public property IndexedPropertyKeys 取得需要透過站台資料 Web 服務公開的屬性的屬性索引鍵集。
Public property IsADAccountCreationMode 取得布林值,這個值,指出是否會建立使用者帳戶會自動在 Active Directory 網域服務 (AD DS) 當使用者被邀請到網站。
Public property IsADEmailEnabled 取得布林值,這個值,指出是否在網站上啟用 Active Directory 網域服務 (AD DS) 的電子郵件。
Public property IsAppWeb 對於 SPApp 這個 SPWeb 容器 web。
Public property IsMultilingual 取得或設定值,指出是否啟用網站的多語系使用者介面。
Public property IsRootWeb 取得布林值,這個值,指出網站是否為網站集合的最上層網站。
Public property Language 取得網站的預設語言的地區設定識別項 (LCID)。
Public property LastItemModifiedDate 取得或設定項目上次修改站台的時間與日期。(唯讀在沙箱化解決方案中。)
Public property Lists 取得包含在網站中的所有清單集合。
Public property ListTemplates 取得所有清單定義及可用的網站上建立清單的清單範本集合。
Public property Locale 取得或設定時間、 貨幣和數字欄位在網站上呈現時使用的地區設定。
Public property MasterPageReferenceEnabled 會擷取布林值,指出是否啟用網站主版頁面參考。
Public property MasterUrl 取得或設定用於網站的主版頁面 URL。
Public property Modules 取得在網站使用的模組的集合。
Public property Name 取得或設定網站的名稱。
Public property Navigation 取得代表瀏覽網站,包括 [快速啟動] 區域和上方導覽列上的瀏覽物件。
Public property NoCrawl 取得或設定布林值,指定是否啟用網站的搜尋。
Public property NonHostHeaderUrl 取得網站的完整 url 非隔離的 url。
Public property OverwriteTranslationsOnChange 取得及設定布林值,指出是否變更使用者指定預設語言的文字應該會自動覆寫現有的轉譯所做的所有替代語言。
Public property ParentWeb 取得指定網站的上層網站。
Public property ParentWebId 取得網站的父網站的識別項 (ID)。
Public property ParserEnabled 取得或設定值,這個值指定是否啟用網站的文件庫的剖析。
Public property Permissions Obsolete. 取得網站的權限的集合。
Public property PortalMember 取得布林值,這個值,指出網站是否與入口網站相關聯。
Public property PortalName 取得與網站相關聯的入口網站名稱。
Public property PortalSubscriptionUrl 取得用於警示內入口網站的 URL。
Public property PortalUrl 取得與網站相關聯的入口網站的 URL。
Public property PresenceEnabled 取得或設定布林值,指定是否要在網站上啟用內嵌出席資訊。
Public property Properties 取得SPPropertyBag物件與中繼資料的網站。
Public property Provisioned 取得布林值,這個值,表示該網站是否已佈建。
Public property PublicFolderRootUrl Obsolete. 取得用於文件庫中的電子郵件附件的公用資料夾的 URL。
Public property PushNotificationSubscribers 取得集合的發送通知 「 訂閱者 」 站台上。
Public property QuickLaunchEnabled 取得或設定布林值,指定是否要在網站上啟用 [快速啟動] 區域。
Public property RecycleBin 取得網站的 [資源回收筒]。
Public property RecycleBinEnabled 取得或設定將判斷是否對網站啟用資源回收筒的值。
Public property RegionalSettings 取得目前在網站上實作的區域設定。
Public property RequestAccessEmail 取得或設定存取的要求會傳送電子郵件地址。
Public property RequestAccessEnabled 取得布林值,這個值,指出是否啟用要求至該網站的存取。
Public property RequireDynamicCanary 如果為 true,加納利,才包括 web 服務要求這個 UrlZone 的所有要求
Public property ReusableAcl 取得可重複使用的存取控制清單 (ACL) 的網站。 (Overrides SPSecurableObject.ReusableAcl.)
Public property RoleAssignments 取得這個可保護物件的角色指派。 (Inherited from SPSecurableObject.)
Public property RoleDefinitions 取得網站的角色定義的集合。
Public property Roles Obsolete. 使用RoleDefinitions屬性來取得網站的角色定義的集合。在Windows SharePoint Services 2.0, Roles屬性用來在網站上取得網站群組的集合。
Public property RootFolder 取得網站的根資料夾。
Public property SaveSiteAsTemplateEnabled 取得或設定布林值,指定是否可以做為網站範本中儲存的網站。
Public property ServerRelativeUrl 取得或設定網站的伺服器相對 URL。
Public property ShowUrlStructureForCurrentUser 擷取布林值,指出目前的使用者是否可以看到目前的站台的檔案結構。預設值為 false。
Public property Site 取得父網站的網站集合。
Public property SiteAdministrators 取得網站系統管理員的集合。
Public property SiteClientTag 用戶端快取控制項編號 (用戶端標記) 此網站集合。
Public property SiteGroups 取得集合,其中包含網站集合中的所有群組。
Public property SiteLogoDescription 取得或設定網站標誌的描述。
Public property SiteLogoUrl 取得或設定網站標誌的絕對 URL。
Public property SiteUserInfoList 取得包含網站的網站集合使用者資訊清單。
Public property SiteUsers 取得屬於網站集合的所有使用者集合。
Public property Solutions 啟動 web 的 UserSolutions。
Public property SupportedUICultures 取得可列舉的網站所支援的文化特性的相關資訊的物件集合。
Public property SyndicationEnabled 取得或設定值,這個值指定是否真正簡易新聞訂閱方式 (RSS) 已啟用網站中。
Public property Theme Obsolete. 取得套用至網站的佈景主題名稱。
Public property ThemeCssUrl Obsolete. 取得用於網站佈景主題的階層式樣式表檔案的 URL。
Public property ThemedCssFolderUrl 取得或設定包含用於網站佈景主題的階層式樣式表 (CSS) 檔案的資料夾的 URL。
Public property ThemeInfo 這個 SPWeb 之佈景主題資訊。這包括資訊如色彩、 字型、 框線的迴轉半徑大小等。
Public property Title 取得或設定網站的標題。
Public property TitleResource 取得SPUserResource物件,表示該網站的標題轉譯。
Public property TreeViewEnabled 取得或設定布林值,指定是否啟用SharePoint Foundation樹狀檢視的網站網頁左邊的瀏覽區域中。
Public property UICulture 取得CultureInfo物件,表示該網站的預設語言。
Public property UIVersion 取得或設定目前的版本號碼的使用者介面。
Public property UIVersionConfigurationEnabled Obsolete. 取得或設定值,這個值,指出是否啟用使用者介面 (UI) 的變更的使用者介面版本。
Public property Url 取得網站的絕對 URL。
Public property UserCustomActions 擷取重新整理的SPUserCustomActionCollection
Public property UserIsSiteAdmin 取得布林值,這個值,指出使用者是否具有系統管理權限,在網站上,包括ManageSubwebs、 ManagePermissions及ManageWeb權限。
Public property UserIsWebAdmin 取得布林值,這個值,指出使用者是否為站台的系統管理員 」 網站群組的成員。
Public property UserResources 取得使用者定義的當地語系化資源到目前網站範圍的集合。
Public property Users 取得集合的明確指派在網站中的使用權限的使用者物件。
Public property ViewStyles 取得網站的檢視樣式集合。
Public property Webs 取得表示正下方的網站,不包含這些網站的子系的所有網站的網站集合物件。
Public property WebTemplate 取得建立網站所用的網站定義或網站範本名稱。
Public property WebTemplateId 取得用來建立網站的網站定義的識別項 (ID)。
Public property WorkflowAssociations 取得工作流程的集合,代表與網站相關聯的所有工作流程關聯物件。
Public property Workflows 取得正在執行或已經在網站上執行的工作流程執行個體的集合。
Public property WorkflowTemplates 取得網站的工作流程範本的集合。

Top

Methods

  Name Description
Public method AddApplicationPrincipal 為主體 ; 應用程式會將使用者加入網站也就是說,委派給外部應用程式的名義執行的使用者物件。
Public method AddProperty 將屬性加入中繼資料的網站清單。
Public method AddSupportedUICulture 加入支援的網站清單中的特定文化特性資訊。
Public method AllowAllWebTemplates 將重設一組完整的網站範本,為在網站上可用的網站範本。
Public method ApplyTheme(String) Obsolete. 將佈景主題套用至網站。
Public method ApplyTheme(String, String, String, Boolean) 使用指定的元件將佈景主題套用到這個站台。
Public method ApplyWebTemplate(String) 會指定的站台定義] 或 [網站範本套用到不已套用到任何範本的網站。
Public method ApplyWebTemplate(SPWebTemplate) 會指定的站台定義物件或站台範本物件套用到不已套用到任何範本的網站。
Public method BreakRoleInheritance(Boolean) 建立物件的唯一的角色指派,並選擇性地將角色指派複製從父代。 (Inherited from SPSecurableObject.)
Public method BreakRoleInheritance(Boolean, Boolean) 建立唯一的角色指派的網站,選擇性地將角色指派複製來自父網站的搜尋,並選擇性地清除從子孫項的唯一的角色指派。 (Overrides SPSecurableObject.BreakRoleInheritance(Boolean, Boolean).)
Public method BypassUseRemoteApis 略過的 SOAP,WebDAV 和Microsoft Office SharePoint Designer 2007介面存取該網站。
Public method CheckPermissions 判斷目前的使用者是否具有指定的使用權限集合。 (Inherited from SPSecurableObject.)
Public method Close 關閉網站結尾的要求,並釋放資源。
Public method CreateDefaultAssociatedGroups 建立擁有者群組。
Public method CustomizeCss 自訂網站的指定的樣式表。
Public method Delete 刪除網站。
Public method DeleteProperty 刪除中繼資料的網站清單中的屬性。
Public method Dispose 釋放該網站的目前執行個體所使用的所有資源。
Public method DoesPushNotificationSubscriberExist 檢查是否與指定的裝置應用程式目前的使用者存在 「 推入通知訂閱者 」 執行個體識別碼。
Public method DoesUserHavePermissions(SPBasePermissions) 指示目前的使用者是否有指定的使用權限集合。 (Inherited from SPSecurableObject.)
Public method DoesUserHavePermissions(String, SPBasePermissions) 指示指定的使用者是否有指定的使用權限集合。
Public method EnsureUser 檢查是否指定的登入名稱屬於該網站的有效使用者,並登入名稱不存在,將它加入至網站。
Public method Equals (Inherited from Object.)
Public method ExportUserResources 匯出使用者指定之語言的資源。
Protected method Finalize (Inherited from Object.)
Public method GetAppInstanceById 擷取這個站台上安裝 AppInstance。
Public method GetAppInstancesByProductId 擷取所有 AppInstances 安裝在此網站上所指定的應用程式的執行個體。
Public method GetAvailableCrossLanguageWebTemplates 傳回可用跨語言網站範本的集合。
Public method GetAvailableWebTemplates(UInt32) 取得用於建立網站,根據指定的地區設定識別項 (ID) 下方的子網站的網頁範本。
Public method GetAvailableWebTemplates(UInt32, Boolean) 取得用於建立網站,以指定的地區設定識別碼 (ID),以及是否要包含語言中性網站範本為基礎的下方的子網站的網站範本。
Public method GetCatalog 取得清單範本庫、 範本藝廊網站或Web Parts page圖庫的網站。
Public method GetChanges() 取得所有的網站目前的變更記錄檔中列出的變更。
Public method GetChanges(SPChangeQuery) 取得從做為篩選依據指定的查詢變更記錄檔的變更。
Public method GetChanges(SPChangeToken) 取得從變更記錄檔中指定的點開始的變更。
Public method GetChanges(SPChangeToken, SPChangeToken) 取得在指定的一段時間登入的變更。
Public method GetFieldLocalizations 傳回網站中指定的文化特性的當地語系化資源的集合。
Public method GetFile(Guid) 取得具有指定識別項 (ID) 的檔案物件。
Public method GetFile(String) 擷取位於指定 URL 的檔案物件。
Public method GetFileAsString 取得位於指定的 URL 做為字串的檔案物件的內容。
Public method GetFileOrFolderObject 擷取檔案或資料夾上指定的 URL 的網站。
Public method GetFilePersonalizationInformation 傳回的檔案層級指定的文件做為輸出參數,也會傳回指定文件是否已個人化 Web 組件的值。
Public method GetFolder(Guid) 擷取含有指定 GUID 的資料夾物件。
Public method GetFolder(String) 取得位於指定 URL 的資料夾。
Public method GetHashCode (Inherited from Object.)
Public method GetLimitedWebPartManager 傳回指定的 Web 組件頁面和檢視受限制的網頁組件管理員。
Public method GetList 取得與指定的伺服器相對 URL 相關聯的清單。
Public method GetListFromUrl 取得與指定的Web Parts page之第一個網頁組件相關聯的清單。從Windows SharePoint Services 3.0,而不是此方法使用GetListFromWebPartPageUrl方法。
Public method GetListFromWebPartPageUrl 取得與指定的Web Parts page之第一個網頁組件相關聯的清單。
Public method GetListItem 取得與指定的伺服器相對 URL 相關聯的清單項目。
Public method GetListItemFields 取得與指定的伺服器相對 URL,傳回指定的欄位資料相關聯的清單項目。
Public method GetListsOfType 取得指定之型別的清單。
Public method GetObject 擷取檔案、 資料夾或與指定的 URL 相關聯的清單項目。
Public method GetProperty 取得屬性的值與指定的索引鍵清單中的中繼資料的網站。
Public method GetPushNotificationSubscriber 透過站台的 「 推入通知訂閱者 」 取得指定的裝置應用程式執行個體識別碼。
Public method GetPushNotificationSubscribersByArgs 透過自訂的引數的指定值之網站的發送通知 「 訂閱者 」 的查詢。空值或空白的自訂引數會傳回 「 訂閱者 」 沒有任何篩選條件。
Public method GetPushNotificationSubscribersByUser 透過指定的使用者之網站的發送通知 「 訂閱者 」 的查詢。
Public method GetRecycleBinItems 取得資源回收筒會以指定的查詢為基礎的項目。
Public method GetServerRelativeUrlFromUrl 指定完整,相對的伺服器或 web 相對 url,傳回永遠以斜線開頭的伺服器相對 url。
Public method GetSiteAppPrincipals 在網站集合中取得的應用程式原則。
Public method GetSiteData 取得清單項目跨越多個清單,可以位於相同的網站集合中的多個網站。
Public method GetSubwebsForCurrentUser() 取得在目前的網站目前的使用者為成員的子網站。
Public method GetSubwebsForCurrentUser(Int32) 取得在目前的網站目前的使用者是根據指定的站台定義成員的子網站。
Public method GetSubwebsForCurrentUser(Int32, Int16) 取得目前的網站中目前的使用者是成員,根據指定的站台定義和組態下子網站。
Public method GetType (Inherited from Object.)
Public method GetUsageData(SPUsageReportType, SPUsagePeriodType) 取得包含某個網站,根據指定的報表類型和時間間隔的使用方式相關資訊的資料表。
Public method GetUsageData(SPUsageReportType, SPUsagePeriodType, Int32, DateTime) 取得包含根據指定的報告類型、 時間間隔、 顯示器及最後一天的欄數,以顯示網站的使用方式的相關資訊的資料表。
Public method GetUserEffectivePermissionInfo 取得指定的使用者擁有的有效使用權限和相關給這位使用者在這個範圍內的角色指派。 (Overrides SPSecurableObject.GetUserEffectivePermissionInfo(String).)
Public method GetUserEffectivePermissions 取得目指定使用者在前的應用程式範圍內擁有的有效權限。 (Overrides SPSecurableObject.GetUserEffectivePermissions(String).)
Public method GetUserToken 擷取指定之使用者的使用者語彙基元。
Public method GetViewFromUrl 根據指定的 URL 在站台內取得清單的檢視。
Public method GetWebPartCollection Obsolete. 使用SPFile類別的GetLimitedWebPartManager方法來傳回SPLimitedWebPartManager物件而是管理 Web 組件。(在Windows SharePoint Services 2.0的GetWebPartCollection方法傳回 Web 組件的集合在頁面上,在指定的 URL。)
Public method GetWebsAndListsWithUniquePermissions 擷取 Web 及使用自己特有的權限,或具有唯一權限的項目清單的集合。
Public method ImportUserResources 匯入使用者所指定語言的資源。
Public method InsertAlertEvent(Guid, String, Int32, SPReusableAcl) 插入事件表格中的事件,指定自訂的 prematching GUID、 事件資料、 事件型別和可重複使用的存取控制清單 (ACL)。
Public method InsertAlertEvent(Guid, String, Int32, []) 插入事件表格中的事件,指定自訂的 prematching GUID、 事件資料、 事件型別和存取控制清單 (ACL)。
Public method IsCurrentUserMemberOfGroup 取得目前的使用者是否為指定群組的成員。
Public method LoadAndInstallApp 上載和安裝應用程式套件。
Public method LoadAndInstallAppInSpecifiedLocale 上載和安裝應用程式套件,在指定的地區設定。
Public method LoadApp 上傳的應用程式套件,並從其建立執行個體。
Protected method MemberwiseClone (Inherited from Object.)
Public methodStatic member OriginalBaseUrl 傳回目前要求的基底 URL。
Public method ProcessBatchData 處理用於將多個要求傳送到每個交易伺服器指定的指令。
Public method RecalculateWebFineGrainedPermissions 此類網站包含清單或具有唯一權限,並更新AllowAutomaticASPXPageIndexing屬性的值的清單項目是否會重新計算。
Public method Recycle 將網站傳送到 [資源回收筒]。
Public method RegisterPushNotificationSubscriber 透過網站註冊 「 訂閱者 」 的發送通知。如果登錄已經存在,服務語彙基元會更新為新的值。
Public method RemoveExternalSecurityProvider Obsolete. 移除外部安全性提供者的網站。
Public method RemoveSupportedUICulture 移除對指定的文化特性 (地區設定) 網站支援。
Public method ResetRoleInheritance 重設本機角色分派讓網站,以及所有它是子系物件重新繼承來自父網站的角色指派。 (Overrides SPSecurableObject.ResetRoleInheritance().)
Public method RevertAllDocumentContentStreams 將還原網站內的所有檔案根據其原始狀態,讓它們的邏輯會變成 (也稱為 「 建立映像 」) 的記憶體中快取而不是儲存在資料庫中。
Public method RevertCss 還原檔案的預設樣式表的樣式表自訂。
Public method SaveAsTemplate 將網站儲存做為站台範本方案。
Public method SearchDocuments(String) This class or member is deprecated. When you upgrade or write new applications that use this class or member, use the new class or member instead.請改用Microsoft.SharePoint.Search.Query.KeywordQuery類別或FullTextSqlQuery類別的Execute方法。
Public method SearchDocuments(String, UInt32, SPSearchResultCollectionPosition) This class or member is deprecated. When you upgrade or write new applications that use this class or member, use the new class or member instead.請改用Microsoft.SharePoint.Search.Query.KeywordQuery類別或FullTextSqlQuery類別的Execute方法。
Public method SearchListItems(String) This class or member is deprecated. When you upgrade or write new applications that use this class or member, use the new class or member instead.請改用Microsoft.SharePoint.Search.Query.KeywordQuery類別或FullTextSqlQuery類別的Execute方法。
Public method SearchListItems(String, UInt32, SPSearchResultCollectionPosition) This class or member is deprecated. When you upgrade or write new applications that use this class or member, use the new class or member instead.請改用Microsoft.SharePoint.Search.Query.KeywordQuery類別或FullTextSqlQuery類別的Execute方法。
Public method SetAvailableCrossLanguageWebTemplates 指定一組語言中性 Web 範本可供建立網站,不論地區設定下的子網站。
Public method SetAvailableWebTemplates 指定用於建立網站中指定的地區設定下的子網站的網頁範本。
Public method SetProperty 設定屬性的值與指定之索引鍵清單中的中繼資料的網站。
Public method ToString 傳回該網站的標題。 (Overrides Object.ToString().)
Public method UnregisterPushNotificationSubscriber 移除註冊 「 訂閱者 」 從網站的發送通知。
Public method Update 對網站所做的變更來更新資料庫。
Public method ValidateFormDigest 驗證在目前的要求中使用的表單摘要控制項。

Top

請參閱

參照

SPWeb class

Microsoft.SharePoint namespace