日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當(dāng)前位置: 首頁 > 运维知识 > 数据库 >内容正文

数据库

sharepoint数据库研究

發(fā)布時間:2024/4/14 数据库 36 豆豆
生活随笔 收集整理的這篇文章主要介紹了 sharepoint数据库研究 小編覺得挺不錯的,現(xiàn)在分享給大家,幫大家做個參考.

?一、程序文件及IIS配置?????? 二、SPS數(shù)據(jù)庫對象分析????????????? 2 1.主要數(shù)據(jù)庫表????????????? 2 2.主要表及字段????????????? 2 3.Windows SharePointServices存儲過程?????? 三、SPS封裝后的對象分析????????????? 3 1.SPS主要對象體系結(jié)構(gòu)????????????? 3 2.Microsoft.SharePoint命名空間簡介????????????? 3 3.Windows SharePoint Services Web Service簡介????????????? 3 4.SharePoint 事件分析???? 四、開發(fā)相關(guān)資源

?
一、程序文件及IIS配置
????? SPS安裝后的文件主要存放在如下兩個目錄:

??????? D:\Program Files\SharePoint Portal Server

該目錄主要存放服務(wù)器管理工具,搜索和索引文件數(shù)據(jù),日志文件。

??????? C:\Program Files\Common Files\Microsoft Shared\web server extensions\60\

該目錄主要存放網(wǎng)頁相關(guān)文件(網(wǎng)頁,程序,配置文件,圖片,網(wǎng)頁模板文件)

????? SPS網(wǎng)站中上傳的圖片,文檔及各種列表數(shù)據(jù)都存放在SQL_Server數(shù)據(jù)庫中。??????? SPS安裝好后,[控制面板]/[管理工具]中增加一個[SharePoint 管理中心],主要通過它來完成SPS的配置。

它實際上是一個IIS網(wǎng)站,網(wǎng)頁及程序文件在如下目錄:

C:\Program Files\Common Files\Microsoft Shared\web server extensions\60\TEMPLATE\ADMIN\2052

它對應(yīng)的IIS應(yīng)用程序池名為CentralAdminAppPool (應(yīng)用程序池的主要作用是為WEB程序提供進(jìn)程和內(nèi)存管理)

安裝SPS后,默認(rèn)網(wǎng)站會被SPS占用(默認(rèn)用80端口),對應(yīng)的IIS應(yīng)用程序池為 MSSharePointPortalAppPool,它負(fù)責(zé)客戶端瀏覽SPS時的進(jìn)程和內(nèi)存管理。所以,如果以前的IIS網(wǎng)站虛擬目錄還需要用的話,需要修改虛擬目錄的應(yīng)用程序池,改為DefaultAppPool,或者,新建一個網(wǎng)站(虛擬服務(wù)器),啟用其它的端口來訪問。

二、SPS數(shù)據(jù)庫對象分析
????? SPS的數(shù)據(jù)存放在SQL_Server中,SQL_Server中包含三個數(shù)據(jù)庫:?????????????? SPS01_Config_db,SPS配置信息數(shù)據(jù)庫網(wǎng)站名1_PROF,存儲SPS個人信息網(wǎng)站名????????????? 1_SERV,存儲服務(wù)器相關(guān)信息網(wǎng)站名????????????? 1_SITE,SPS的主數(shù)據(jù)庫,站點中的文檔,列表,圖片基本上都存放在此數(shù)據(jù)庫中。(其中“網(wǎng)站名”指安裝SPS時指定的SPS服務(wù)器名)

1.主要數(shù)據(jù)庫表 配置數(shù)據(jù)庫表(10個表)

? Name
?Description
?描述
?
AntiVirusVendors
?Antivirus software vendors.
? 防毒軟件提供商
?
CustomTemplates
?Templates that appear in the global templates list (template picker).
?出現(xiàn)在全局模板列表中的模板(模板選取)。
?
Databases
?Content databases and associated settings
?內(nèi)容數(shù)據(jù)庫及相關(guān)設(shè)置。
?
Globals
?Settings that apply to all sites on the physical server within a Windows SharePoint Services topology. SharePoint
?架構(gòu)中應(yīng)用于所有物理站點的設(shè)置。
?
InstalledWebPartPackages
?Web Part Packages that are available to the virtual server.
?虛擬服務(wù)器可用的web組件包。
?
Servers
?Physical computers in the Windows SharePoint Services topology.
?SharePoint 架構(gòu)中物理計算機(jī)。
?
Services
?Services such as database, Web, and mail services that are included in the Windows SharePoint Services topology.
?SharePoint架構(gòu)中的服務(wù),例如數(shù)據(jù)庫,站點,郵件等。
?
Sites
?Sites in the Windows SharePoint Services topology.
?SharePoint架構(gòu)中的站點。
?
VirtualServers
?Virtual servers and their associated settings.
?虛擬服務(wù)器及其相關(guān)設(shè)置。
?
WebPartPackages
? Web Part Packages that are installed in a topology.
?安裝在架構(gòu)中的web組件包。
?


????????

內(nèi)容數(shù)據(jù)庫(29個表)


Name
?Description
?描述
?
Categories
?Associations among documents and their assigned areas.
?文檔及其分配區(qū)域協(xié)作。
?
ComMd
?Document discussions.
?文檔討論。
?
Deps
?Document dependencies.
?文檔附件。
?
DiskWarningDate
?Date and time of last warning about disk quota.
?最后警告磁盤配額的日期和時間。
?
Docs
?Documents and document folders.
?文件和文件夾。
?
DocVersions
?Version history of documents from document libraries.
?來自文檔庫的文檔版本歷史。
?
EventCache
?Cache for alerts.
?警報緩存。
?
EventLog
? Log for alerts.
?警報日志。
?
HT_Cache
? Cache of documents transformed for viewing in a Web browser.
?瀏覽器文檔轉(zhuǎn)換視圖緩存。
?
HT_Settings
?Settings for HTML viewing.
? HTML視圖配置。
?
ImmedSubscriptions
?Alerts that are set to be sent as soon as the changes occur.
?即時發(fā)送的變更通知
?
?Links
?Links to be recalculated during a site recalculation.
?重算過程中到重新計算的鏈接。
?
Lists
? Lists in the site.
?站點列表。
?
NavNodes
?Nodes that are displayed in the navigation bars.
?導(dǎo)航條顯示的節(jié)點集。
?
Personalization
?Personalization done to Web Parts.
?自定義web組件。
?
SchedSubscriptions
?Alerts that are set to be sent on a daily or weekly basis.
?每天或每周預(yù)定發(fā)送的通知。
?
SiteGroupMembership
?Members of cross-site groups.
?跨站點組成員。
?
SiteGroups
?Cross-site groups.
?跨站點組。
?
Sites
?Sites in the content database.
?內(nèi)容數(shù)據(jù)庫站點。
?
TimerLock
?Locking scheme that determines which server locks which database.
?決定服務(wù)器鎖鎖定數(shù)據(jù)庫的鎖方案。
?
UserData
? List data.
?列表數(shù)據(jù)。
?
UserInfo
?Info about each user added to the site.
?每一個用戶添加到站點的信息。
?
WebCat
?Links between Web sites and areas.
?站點和區(qū)域間的鏈接。
?
WebGroupMembership
?List of members of the site groups.
?站點組成員列表。
?
WebGroups
?Site groups (such as Administrator, Web Designer) for the site.
?站點組(例如管理員,站點設(shè)計者)。
?
WebMembers
?Members of a site.
?站點成員。
?
WebParts
?Web Parts available for the sites. A view is a Web Part.
?站點可用的web組件。一個web組件的視圖。
?
Webs
?Subsites associated with a site.
?和一個站點關(guān)聯(lián)的子站點。
?
WelcomeNames
?Default documents for the site.
?站點默認(rèn)文檔。
?


?

2.主要表及字段
SPS01_config_db數(shù)據(jù)庫主要存儲SPS的配置信息

下面對其中的5個重點表進(jìn)行分析說明

1、AntiVirusVendors Table(AntiVirusVendors表)

2、CustomTemplates Table(CustomTemplates表)

3、Databases Table(Databases表)

4、Globals Table(Globals表)

5、Services Table(Services表)

?

1、AntiVirusVendors Table(AntiVirusVendors表)
The AntiVirusVendors table stores a list of antivirus software vendors whose software is used in the Microsoft Windows SharePoint Services deployment. AntiVirusVendors

表存儲了SharePoint中使用的防毒軟件提供商的信息。


Column name
?Data type
?Description
?描述
?
VendorID
?Int
?Unique identifier for each vendor. Part of the primary key.
?提供商標(biāo)識。主鍵組成部分。
?
VendorProduct
?nvarchar
?Name of the antivirus software product. Part of the primary key.
?防毒軟件產(chǎn)品名稱。主鍵組成部分。
?
VendorVersion
?Int
?Version of the signature file for the antivirus software product.
?防毒軟件產(chǎn)品簽名文件版本
?


2、CustomTemplates Table(CustomTemplates表)
The CustomTemplates table stores the list of custom page templates that appear in the global templates list . CustomTemplates

表存儲了出現(xiàn)在全局模板列表中的自定義頁面模板列表。

Column name
?Data type
?Description
?描述
?
Id
?int
?Unique identifier for the custom template. Primary key.
?自定義模板標(biāo)識。主鍵
?
Title
?nvarchar
?Title of the template that displays in the template picker list box.
?在模板選擇列表框顯示的模板名稱。
?
Description
?nvarchar
?Description of the template.
?模板描述說明。
?
LCID
?int
?Locale ID; for example, 1033 is English.
?區(qū)域編碼;例如,例如1033是英國的區(qū)域編碼。
?
Content
?image
?Content that is applied to the site.
?應(yīng)用到站點的內(nèi)容。
?
TemplateID
?int
?Template type.
?模板類型。
?


3、Databases Table(Databases表)
The Databases table stores content database records that list content databases and the associated settings in a Microsoft Windows SharePoint Services deployment. Each virtual server in the deployment hosts a content database.

Databases表存儲內(nèi)容數(shù)據(jù)庫(包括列表內(nèi)容數(shù)據(jù)庫及與其關(guān)聯(lián)的SharePoint架構(gòu)設(shè)置)記錄。每一個虛服務(wù)器都有一個內(nèi)容數(shù)據(jù)庫。


Column name
?Data type
?Description
?描述
?
DatabaseId
?uniqueidentifier
?Primary key.
?主鍵。
?
VirtualServerId
?uniqueidentifier
?Associated virtual server. Foreign key, available from the VirtualServers table.
?關(guān)聯(lián)的虛服務(wù)器。外鍵,來自VirtualServers表。
?
Name
?nvarchar
?Database name.
?數(shù)據(jù)庫名。
?
UserId
?nvarchar
?User ID used to connect to the database. Blank for Integrated Windows authentication.
?User ID被用來連接到數(shù)據(jù)庫。如果為空則為集成windows驗證。
?
Password
?nvarchar
?Password used to connect to the database. Blank for Integrated Windows authentication.
?Password用來連接到數(shù)據(jù)庫。如果為空則為集成windows驗證。
?
SiteCount
?int
?Number of sites in the database.
?數(shù)據(jù)庫中站點數(shù)量。
?
SiteCountWarning
?int
?Number of sites allowed before a warning is generated.
?數(shù)據(jù)庫中允許最大的站點數(shù)量。
?
SiteCountLimit
?int
?Number of sites allowed.
?允許的站點數(shù)量。
?
DatabaseServiceId
?uniqueidentifier
?Foreign key, available from the Services table.
?外鍵,來自Services表。
?
LastModified
?datetime
?Time of last modification to the database record.
?數(shù)據(jù)庫記錄最新修改時間。
?
LastModifiedUser
?nvarchar
?User who last modified the database record.
?最后修改數(shù)據(jù)庫記錄的用戶。
?
LastModifiedServer
?nvarchar
?Name of the server affected by the modifications.
?修改影響的服務(wù)器名稱。
?
Status
?int
?Ready or Offline Status (0 is ready, 1 is offline). When offline, no additional sites can be created but existing sites are accessible.
?就緒或離線狀態(tài)(0表示就緒,1表示離線)。如果處于離線狀態(tài),除了已存在站點外不能創(chuàng)建其它站點創(chuàng)建。
?
Version
?timestamp
?Version of the metainfo parameter in the table. This value is incremented when a site is created and the site count is incremented.
?數(shù)據(jù)表元參數(shù)版本。當(dāng)一個站點被創(chuàng)建和站點數(shù)量增加時,這個值就會增加。
?
Properties
?ntext
?Not used in this table.
?備用字段
?


4、Globals Table(Globals表)
The Globals table stores settings that apply across a Microsoft Windows SharePoint Services deployment.

Globals表存儲跨越應(yīng)用于SharePoint設(shè)置的設(shè)置信息。


Column name
?Data type
?Description
?描述
?
GlobalId
?uniqueidentifier
?Primary key.
?主鍵。
?
SchemaVersion
?nvarchar
?Schema version of the configuration database.
?配置數(shù)據(jù)庫架構(gòu)版本。
?
UseHostHeader
?bit
?Hoster Header mode settings for Windows SharePoint Services.
?Windows SharePoint Services的主機(jī)頭樣式設(shè)置。
?
UseNtAuthForDatabase
?bit
?1 if Integrated Windows Authentication is being used for database access; 0 if SQL Authentication is being used.
?1表示訪問數(shù)據(jù)庫用集成windows驗證;0表示用SQL驗證。
?
SmtpServiceId
?uniqueidentifier
?GUID for the Simple Mail Transfer Protocol (SMTP) Service specified in the global settings of SharePoint Central Administration. Foreign key (Services table).
?SharePoint中心管理全局設(shè)置簡單郵件傳輸協(xié)議的GUID.外鍵來
?
MailCodePage
?int
?Option selected for character set in the SMTP Settings specified in the global settings of Central Administration.
?中心管理的全局設(shè)置中SMTP設(shè)置的可選字符集選項。
?
FromAddress
?nvarchar
?E-mail address identified in the From field of the SMTP settings specified in the global settings of SharePoint Central Administration.
?中心管理的全局設(shè)置的SMTP設(shè)置的來自域的可識別的E-mail地址。
?
ReplyToAddress
?nvarchar
?E-mail address that was placed in the Reply To field of the SMTP settings specified in the global settings of SharePoint Central Administration.
?中心管理的全局設(shè)置的SMTP設(shè)置的回復(fù)域的可識別的E-mail地址。
?
LastModified
?datetime
?Time of last modification to global settings record.
?全局設(shè)置的最新修改時間。
?
LastModifiedUser
?nvarchar
?User name of the person who last modified global settings record.
?全局設(shè)置的最新修改人的用戶名。
?
LastModifiedServer
?nvarchar
?Name of the server affected by the modifications.
?修改影響的服器名。
?
Status
?int
?Not used in this table.
?備用字段。
?
Version
?timestamp
?Version of the metainfo parameter in the table. This value is incremented when the UseHostHeader or SMTP Server Settings change.
?表元參數(shù)版本。當(dāng)用戶主機(jī)頭或SMTP設(shè)置變更時該值增加。
?
Properties
?ntext
?Miscellaneous properties for the deployment. For example, this may include metadata such as HTML viewing settings, blocked file types.
?混合屬性。例如,可能包括原數(shù)據(jù),比方說HTML視圖設(shè)置或者
?
LastModifiedServer
?nvarchar
?Name of the server affected by the modifications.
?修改影響的服務(wù)器名。
?
Status
?int
?Not used in this table.
?備用字段。
?
Version
?timestamp
?Version of the metainfo parameter in the table. This value is incremented when a new computer is added to the server farm.
?表元參數(shù)版本。當(dāng)一臺新的計算機(jī)被添加到服務(wù)器工廠時,該值是就會增加。
?
Properties
?ntext
?Additional information about the server stored in XML format.
?以xml格式存儲的服務(wù)器附加信息。
?


5、Services Table(Services表)
The Services table stores records for services used by the Microsoft Windows SharePoint Services deployment.

Services表存儲了Microsoft Windows SharePoint Services架構(gòu)使用的服務(wù)記錄。


Column name
?Data type
?Description
?描述
?
ServiceId
?uniqueidentifier
?Primary key.
?主鍵。
?
ClassId
?uniqueidentifier
?GUID that indicates the service type such as database, Simple Mail Transfer Protocol (SMTP), or Web service. Web service corresponds to a virtual server in Microsoft Internet Information Services (IIS).
?GUID表明IIS服務(wù)類型,例如數(shù)據(jù)庫,SMTP,Web服務(wù),或者web服務(wù)和虛擬服務(wù)器之間的通信。
?
ServerId
?uniqueidentifier
?Associated server. Foreign key (Servers table).
?關(guān)聯(lián)的服務(wù)器。外鍵,來自Servers表。
?
Instance
?nvarchar
?Instance name of the service where a service such as the database service supports additional named instances.
?服務(wù)實例名,比如數(shù)據(jù)庫服務(wù)就支持附加實例名。
?
LastModified
?datetime
?Time of the last modification to the service record.
?服務(wù)記錄最新修改時間。
?
LastModifiedUser
?nvarchar
?User name of the person who last modified the service record.
?最新修改服務(wù)記錄的用戶名。
?
LastModifiedServer
?nvarchar
?Name of the server affected by the modifications.
?修改影響的服務(wù)器名
?
Status
?int
?Not used in this table.
?備用字段。
?
Version
?timestamp
?Version of the metainfo parameter in the table. This value is incremented when a service changes.
?表元參數(shù)版本號。當(dāng)一個服務(wù)改變的時候,該值是增加的。
?
Properties
?ntext
?Not used in this table.
?備用字段。由于SPS的開發(fā)主要通過封裝的SPS對象去實現(xiàn),而不是直接操作數(shù)據(jù)庫對象,所以,這里沒有對數(shù)據(jù)庫對象(表,存儲過程,觸發(fā)器,約束等)進(jìn)行詳細(xì)研究,做了一個excel表格,該表格通過程序列出了SPS的主數(shù)據(jù)庫[網(wǎng)站名1_SITE]中的對象,供參考。見附加excel文件。
?


3.Windows SharePointServices存儲過程
Databases 表存儲過程、


名稱
?描述
?
proc_putDatabase
?添加或更新一條數(shù)據(jù)庫記錄。
?
proc_getDatabaseById
?返回單條數(shù)據(jù)庫記錄。
?
proc_getDatabases
?返回一個數(shù)據(jù)庫記錄集。
?
proc_dropDatabase
?刪除一條數(shù)據(jù)庫記錄。
?


Globals 表存儲過程名稱


名稱
?描述
?
proc_putGlobals
?保存全局設(shè)置.
?
proc_getGlobals
?返回全局設(shè)置
?


Servers 表存儲過程


名稱
?描述
?
proc_putServer
?添加或更新一條服務(wù)器記錄。
?
proc_getServerById
?返回單條服務(wù)器記錄。
?
proc_getServers
?返回一個數(shù)據(jù)庫記錄集合。
?
proc_dropServer
?刪除一條服務(wù)器記錄。
?


Services 表存儲過程


名稱
?描述
?
proc_putService
?添加或更新一條服務(wù)記錄。
?
proc_getServiceById
?返回單條服務(wù)記錄。
?
proc_getServicesByClass
?返回一個服務(wù)記錄集合。
?
proc_dropService
?刪除一個服務(wù)記錄。
?


Sites 表存儲過程


名稱
?描述
?
proc_putSite
?添加或更新一個站點記錄。
?
proc_getSiteById
?返回單條站點記錄。
?
proc_getSites
?返回一個站點記錄集合。
?
proc_dropSite
?刪除一個站點記錄。
?


VirtualServers 表存儲過程


名稱
?描述
?
proc_putVirtualServer
?添加或更新一條虛服務(wù)器記錄。
?
proc_getVirtualServerById
?返回單條虛服務(wù)器記錄
?
proc_getVirtualServers
?返回一個虛服務(wù)器記錄集合
?
proc_dropVirtualServer
?刪除一個虛服務(wù)器記錄。
?


三、SPS封裝后的對象分析
1.SPS主要對象體系結(jié)構(gòu)以下是SharePoint可編程控制的范圍。
Security, Users, and Groups Overview (安全,用戶,和組的預(yù)覽)

Namespaces in the Windows SharePoint Services Object Model (SharePoint對象模型的命名空間)

Programming with the Microsoft.SharePoint and Microsoft.SharePoint.Administration Namespaces(Microsoft.SharePoint和Microsoft.SharePoint.Administration命名空間)

Programming with the Microsoft.HtmlTrans.Interface Namespace (Microsoft.HtmlTrans.Interface命名空間)

Server and Site Architecture Overview (Server和Site體系結(jié)構(gòu)預(yù)覽)

Introduction to Templates and Definitions (模板定義和說明)

Guidelines for Templates and Definitions (模板定義和策略)

Introduction to the Windows SharePoint Services Web Service(SharePoint Web服務(wù)說明)

Guidelines for Using the Object Model (對象模型策略) Major Schema Files(主要模式文件)

2.Microsoft.SharePoint命名空間簡介命名空間:
Microsoft.SharePoint

SPSite 功能:

Represents a collection of sites on a virtual server, including a top-level site and all its subsites. 代表一個虛擬服務(wù)器的網(wǎng)站集合,包含一個頂集網(wǎng)站和他的所有子站點

AllWebs:屬性表示上面意義的網(wǎng)站集合

Quota:網(wǎng)站給定某用戶的限額

IISAllowsAnonymous:IIS是否允許匿名登錄

PortalUrl:網(wǎng)站所在的門戶網(wǎng)站的URL對于WSS網(wǎng)站,此項是空值

URL:網(wǎng)站所在的網(wǎng)址

SPWeb 功能:

Represents a SharePoint site. 代表SharePoint的一個網(wǎng)站

Alerts:所有通知的集合

AllUsers:代表所有用戶對象的集合,這個用戶可以是網(wǎng)站的用戶,也可以是經(jīng)過認(rèn)證的域用戶

Configuration:用來建立站點的配置ID,

DocTemplates:此網(wǎng)站所用的文檔模板

EmailInsertsEnabled:取得值,表明此網(wǎng)站的文檔庫是否接收

Excahnge的公共文件郵件中的附件

EventHandlersEnabled:讀取此網(wǎng)站的文檔庫是否接收事件處理

Files:取得此網(wǎng)站根目錄下所有的文件

Folders:取得此站點所有第一級文件夾

Groups:取得此站點交差站點的組

IncludeSupportingFolders:取得或設(shè)置在此站點中的文件夾或文件夾中的文件是否支持枚舉

IsADAccountCreationMode:取得訪問站點的用戶是否自動在活動目錄里建立帳戶

IsRootWeb:取得此站點是否為站點集中的第一級站點

Lists:取得在此站點中所有列表的集合

Modules:取得在此站點中使用的模塊

PortalMember:是否與Portal相關(guān)聯(lián)

PortalSubscriptionUrl:一直URL供Portal 中的Alerts

PresenceEnabled:取得或設(shè)置是否為記錄用戶在線信息

Properties:屬性集合,此集合中包含WSS的版本或地域信息

PublicFolderRootUrl:取得文檔庫接收公共文件夾中郵件附件的URL

Roles:取得站點的用戶組

SiteGroups:取得網(wǎng)站集合的交差網(wǎng)站組

SiteUsers:取得站點集合的所有用戶

Users:取得此站點的用戶集合

Microsoft.SharePoint.SPWeb.ViewStyles:取得站點的視圖樣式

Webs:取得在此站點以下所有子站點的集合

SPAlert 功能:

Represents an alert, which generates periodic e-mail notifications sent to a user about the list, list item, document, or document library to which the alert applies.

代表一個通知,它產(chǎn)生一個定期的e-mail通知發(fā)送到用戶那里,發(fā)更新與此通知關(guān)聯(lián)的列表,列表項,文檔,文檔庫等的消息

SPAlertFrequency:通知發(fā)生的頻率,分別為每天一次,每周一次,立即發(fā)送

SPEventType:事件類型:全部,刪除,增加,討論,修改 Item:此通知屬于的列表項或文檔

List:此通知所屬的列表或文檔庫

User:得到通知的人

SPList 功能:

Represents a list on a SharePoint Web site.

代表SharePoint 網(wǎng)站中的一個列表

AllowDeletion:此列表是否允許刪除

AllowMultiResponses:指定調(diào)查是否允許多次答復(fù),由此可見,調(diào)查屬于列表的一種

AnonymousPermMask:是否允許匿名用戶訪問

BaseTemplate:說明列表基于的模板類型,模板類型有通知、聯(lián)系人、自定義表格、數(shù)據(jù)源、討論板、文檔庫、事件、自定義列表、不合法列表、問題跟蹤、鏈接、列表模板庫、圖片庫、調(diào)查、任務(wù)、Web部件庫、網(wǎng)站模板庫、Xml表格庫

BaseType:列表的基本類型,類型有:討論板、文檔庫、自定義列表、問題跟蹤、調(diào)查、無類型、沒有使用的

DefaultView:默認(rèn)視圖

Direction:閱讀的方向

EnableAttachments:是否允許添加附件

EnableModeration:是否需要審批

EnableVersioning:是否支持版本

EventSinkAssembly:支持事件通知程序集的強(qiáng)名稱

EventSinkClass:支持事件通知類名稱

EventSinkData:文檔庫的事件通知中定義的任意字符串

ExcludeFromTemplate:當(dāng)列表被存成模板時,是否包含內(nèi)容

Fields:列表中字段的集合

Forms:在列表中用來顯示、編輯、增加列表項的表格集合

Hidden:此列表是否隱藏

ImageUrl:列表的圖標(biāo)的服務(wù)器相對地址

ItemCount:列表項的數(shù)目

Items:列表項集合

Lists:該列表所在的列表集合

MultipleDataList:指定這個在會議工作區(qū)中的列表,是否包含多個會議的實例

OnQuickLaunch:是否有首頁的快速啟動中顯示

Ordered:是否允許用戶重新對列表項排序

ParentWeb:列表屬于的父網(wǎng)站

Permissions:權(quán)限集合

PropertiesXml:協(xié)作應(yīng)用標(biāo)記語言,代表列表的屬性值

ReadSecurity:閱讀權(quán)限設(shè)置

RootFolder:取得在列表中包含所有文件的文件夾

SchemaXml:取得此列表的Xml樣式

ShowUser:是否在調(diào)查中是否顯示用戶名稱

Views:此列表所有視圖集合

WriteSecurity:指定寫入設(shè)置

SPListEvent功能:

Represents an event that occurs within a document library.

代表文檔庫內(nèi)發(fā)生的事件

ListID:事件發(fā)生的文檔庫的GUID

PropertiesAfter:事件發(fā)生后文檔庫狀態(tài)屬性

Type:事件類型:簽入、簽出、復(fù)制、刪除、插入、不合法、剪切、撤消簽出、更新

UrlAfter:返回文檔或文件夾的網(wǎng)站相對地址,在任何事件發(fā)生時,除了刪除事件

UserDisplayName:引發(fā)事件的用戶的顯示名稱

UserID:引發(fā)事件的用戶ID

UserLoginName:引發(fā)事件的用戶登錄名稱

WebUrl:事件發(fā)生的網(wǎng)站的絕對URL

SPListItem 功能:

Represents an item, or row, in a list.

代表列表中的一個列表項或者一行

Attachments:與列表項關(guān)聯(lián)的附件

Fields:列表項所在的列表字段集合

File:由列表所代表的文檔庫中的文件

ListItems:所在的父列表

ModerationInformation:審批信息,包含狀態(tài)和描述

ParentList:所在父列表

Xml:列表中的數(shù)據(jù)的Xml格式

SPIssueList功能:

此類從SPList繼承,表示一個問題列表

EnableAssignedToEmail:當(dāng)列表項與用戶關(guān)聯(lián)時,是否發(fā)送e-mail通知

SPField 功能:

Represents a field in a list on a SharePoint Web site.

代表SharePoint網(wǎng)站中列表的一個字段

CanToggleHidden:取得此字段是否可以通過用戶界面隱藏

DefaultFormula:計劃字段的默認(rèn)公式

Direction:閱讀順序

DisplaySize:顯示大小

FieldReferences:一個字符數(shù)組,表示字段引用計算機(jī)中的字段名稱

Filterable:表明此字段是否可以過濾

FilterableNoRecurrence:取得是否可以在視圖中的字段建立過濾,卻不引發(fā)重復(fù)的事件

FromBaseType:是否從基本字段產(chǎn)生

Hidden:是否在視圖中顯示

InternalName:內(nèi)部名稱

ParentList:包含字段的列表

ReadOnlyField:此字段是否可以修改

Reorderable:在字段中的值是否可以重排序

Required:決定此字段是否為必須的

Sealed:此字段是否可以被其它字段繼承

Sortable:是否可以被排序

Type:字段類型:

TypeAsString:字段的名稱的字符

3.Windows SharePoint Services Web Service簡介
Administration Service
Administration Web服務(wù)提供了WSS網(wǎng)站管理,例如創(chuàng)建和刪除站點等。

提供了4個方法:

(1)、CreateSite(string,string,string,int,string,string,string,string,string,string)

創(chuàng)建一個網(wǎng)站Url,包括站點集合的一個絕對URl。目前不能創(chuàng)建根節(jié)點,只能在http://Server_name/sites/site_name.aspx

Title 此字符串包含網(wǎng)站集合的顯示名

Description 表示網(wǎng)站集合的描述

Lcid 網(wǎng)站集合的本地標(biāo)識。英文版為1033,中文版為2052

WebTemplate 表示網(wǎng)站模版字符串為:STS#0, STS#1, STS#2

OwnerLogin 網(wǎng)站的擁有者(DOMAIN\User_Alias)

OwnerName 網(wǎng)頁上顯示的名字.

OwnerEmail 網(wǎng)站所有者的Email地址.

PortalUrl A string that contains the URL of a portal for the site collection.

?PortalName A string that contains the name of a portal for the site collection.

(2)、DeleteSite(string) Url:要刪除的網(wǎng)站的絕對Url

(3)、GetLanguages() 返回顯示的語言信息

(4)、GetLanguages(GUID,bool)更新虛擬服務(wù)器的Cache配置信息。

VirtualServerId 虛擬服務(wù)器的表示符

AdminGroupChanged:true表示指定的管理員組改變配置。

Alerts Web Service
提供對SharePoint 站點列表通知的操作提供方法:

GetAlerts() 為當(dāng)前站點返回所有通知(注:此方法目前有些不太明白,他并沒有返回我們所想要的信息)

DeleteAlerts(string)刪除指定的通知

Document Workspace Web Service
提供了一些方法,對文檔工作區(qū)及其內(nèi)容進(jìn)行管理

(1)、CanCreateDwsUrl(String) 確定用戶是否有在服務(wù)器上建立子站點的權(quán)限返回值String,如果為:HTTP error code 401表示用戶沒有足夠的權(quán)限!

(2)、CreateDws(string,string,string,string)

Name:新的文檔工作站的名字,可選,如果不寫的話按網(wǎng)站標(biāo)題名命名。

Users:向SharePoint站點增加的新的用戶信息。

Title:新的文檔工作去的標(biāo)題。 documents:An optional list of documents, in the format <Documents><item ID="{document ID}" Name="{document name}"/>...</Documents>, for Microsoft Windows SharePoint Services to retain for subsequent calls to the FindDwsDoc method. Used by Microsoft Office Outlook 2003 when adding shared attachments to a new Document Workspace site. Error Code Description HTTP error code 401 The user does not have sufficient rights.

DWSError.AlreadyExists 指定的Url已存在.

DwsError.QuotaExceeded 這個操作超出了用戶權(quán)限.

(3)DeleteDws()刪除當(dāng)前的文檔工作區(qū)

Error Code Description DWSError.NoAccess 用戶沒有足夠的權(quán)限刪除此文檔

DWSError.WebContainsSubwebs 此文檔工作區(qū)包含子站點

(4)CreateFolder(string) 創(chuàng)建文件夾, 如果返回值為空表示創(chuàng)建成功

url:創(chuàng)建文件夾的名字,例如:Shared Documents/folder_name.,不能創(chuàng)建根文件夾。

Error Code Description

DWSError.NoAccess 用戶沒有足夠的權(quán)限.

DWSError.FolderNotFound 父文件夾不存在.

(5)DeleteFolder(string)刪除文件夾。

Url:要刪除的文件夾的名字。

Error Code Description

DWSError.NoAccess

用戶沒有足夠的權(quán)限完成此操作.

DWSError.FolderNotFound 文件夾不存在

(6)FindDwsDoc(string)此方法返回一個在文檔庫中顯示的文檔URL。

Id (string),文檔的唯一標(biāo)識符(GUID),注:有些疑難,還是沒找到文檔的表示符。所以返回有錯誤

(7)GetDwsData(string,String)返回文檔工作區(qū)所在站點及其包含的列表的信息

Document:在文檔工作區(qū)站點上,文檔庫所包含的一個文檔如:"Shared Documents/document_name.doc." Lastupdata: 可以寫入調(diào)用

GetDwsData()方法或

GetDwsMetadata ()方法后產(chǎn)生的值,也可以空著。

(8)GetDwsMetaData(string,string,bool)返回文檔工作區(qū)站點及其包含的列表的信息

Document:在文檔工作區(qū)站點上,文檔庫所包含的一個文檔如:"Shared Documents/document_name.doc."

id ,可選,文檔的Guid,

minimal Boolean:決定文檔站點信息的輸出是否包含schemas, lists, documents, links, and tasks lists等信息。 Return Value String An XML document fragment that contains the following information:

SubscribeUrl MtgInstance (meeting instance, if applicable)

SettingsUrl (site settings URL)

PermsUrl (edit permissions url)

UserInfoUrl (user information url)

Roles [Schema items] (if Minimal is False)

[ListInfo items] (if Minimal is False) Permissions HasUniquePerm (true/false)

WorkspaceType ("DWS", "MWS", "SPS", "")

IsADMode (true/false)

DocUrl Minimal (true/false)

Results (data returned by the GetDwsData method)

(7)和(8)區(qū)別不是太明顯,但有那么一點區(qū)別,(8)包含所有顯示的文檔、列表等信息,但(7)不包含。

(9)RemoveDwsUser(string)在列表中移出指定的用戶 Id:用戶ID

(10)RenameDws (string)改變當(dāng)前文檔工作區(qū)的標(biāo)題

Title:當(dāng)前文檔工作區(qū)的新標(biāo)題

Versions Service DeleteAllVersions(string)刪除指定文件的所有版本,(除最新版本外)

File_name版本被刪除的文件的名字如shared documents/file_name

DeleteVersion(string,string)刪除指定文件的制訂版本

File_name string版本被刪除的文件的名字如shared documents/file_name

File_Vesion 此文件的指定版本(版本號從”1”開始)此版本必須存在,否則會發(fā)生錯誤。

XmlNode GetVersions(string)以XMl 格式返回指定文件的所有版本信息。

RestoreVersion(string,string)導(dǎo)入以有版本的文件。

File_name string版本被刪除的文件的名字如shared documents/file_name

File_Vesion 此文件的指定版本(版本號從”1”開始)此版本必須存在,否則會發(fā)生錯誤。

Forms Web Service
The Forms service provides methods for returning forms that are used in the user interface when working with the contents of a list.


GetForm
?Returns the schema of a form for a specified list based on the name of the list and the URL of the form.
?
GetFormCollection
?Returns the URLs and types of the forms for a list.
?


Imaging Web Service
The Imaging service provides methods that enable you to create and manage picture libraries


CheckSubwebAndList(String)
?Checks the specified URL and attempts to resolve it.
?
CreateNewFolder(String, String)
?Creates a new folder, with the name "New folder", in the specified list and folder. If this folder already exists, this method tries to create "New folder(1)", "New folder(2)", and so on.
?
Delete(String, String, String[])
?Removes the specified files (items) from the specified list on the current Web site.
?
?
?
?
Download(String, String, String[], Int32, Boolean)
?Downloads the specified files (items) in a list on the current Web site.
?
?
?
?
GetItemsByIds(String, Int32[])
?Returns the items with the specified IDs.
?
GetItemsXMLData(String, String, String[])
?Returns the metadata of all the items in the specified list.
?
GetListItems(String, String)
?Returns the last modified date of the specified items in a list on the current Web site.
?
ListPictureLibrary
?Lists all picture libraries on the current Web site.
?
Rename(String, String, System.Xml.XmlElement)
?Renames the specified files (items) in a list on the current Web site.
?
Upload(String, String, Byte[], String, Boolean)
?Uploads a file to a list on the current Web site.
?


List Data Retrieval Service
提供一個方法,對SharePoint Service 的一個列表進(jìn)行查詢

Request(QueryRequest)(quertRequest的select屬性有問題)

Lists Web Service
為列表及其列表數(shù)據(jù)提供操作的方法。

AddAttachment(string,string,string,byte[])為指定的列表項增加屬性文件

ListName:列表的Guid或列表名

ItemId:要增加屬性列表的Item Id

filename:要上傳的文件的文件名

content:此文件的二進(jìn)制數(shù)組

AddList(string,string, int )在當(dāng)前站點下增加一個列表

listName:列表名 description:對此列表的描述

templateId:使用的模版ID號。 可用的模版ID號如下: List Display Name Type 通知 104 聯(lián)系人 105 自定義列表 100 在數(shù)據(jù)表中自定義列表 120 DataSources 110 討論版 108 文檔庫 101 事件 106 表單 115 問題跟蹤 1100 鏈接 103 圖片庫 109 調(diào)查 102 任務(wù) 107

DeleteAttachment(string,string,string)

Listname:列表名

ItemId:列表的Item Id

DesUrl:包含屬性文件的絕對Url如:http://Server_Name/Site_Name/Lists/List_Name/Attachments/Item_ID/FileName. 在此情況下,可以用程序獲得的此Url XmlNode ndAttach = listService.GetAttachmentCollection("List_Name", "1"); XmlNodeList ndsAttach = ndAttach.ChildNodes; for (int i=0; i<ndsAttach.Count; i++) { string delUrl = ndsAttach[i].InnerText; listService.DeleteAttachment("List_Name", "1", delUrl); }

DeleteList(string)刪除指定的列表

ListName:列表名

XmlNode GetAttachmentCollection(string,string)返回列表指定Item的屬性集合的Urls

ListName:列表名

ItemId:此列表的ItemId。

xmlNode GetList(string)以XML格式返回指定的列表

listname 列表名

xmlNode GetListAndView(string,string)以xml格式為指定列表返回鏈接和視圖

listname:列表名

viewname:試圖名

xmlNode GetListCollection()返回一個站點所有列表的名字和GUID

xmlNode GetListItemChanges(string,System.Xml.XmlNode,string,System.Xml.XmlNode)

listname:列表名

viewFields :A ViewFields element that specifies which fields to return in the query and in what order, and that can be assigned to a System.Xml.XmlNode object since A string that contains the date and time in Coordinated Universal Time (UTC) ISO8601 format from which to start retrieving changes in the list. The value of this parameter is typically retrieved from a prior SOAP response. If this value is null, the query returns all items in the list contains A Contains element that defines custom filtering for the query and that can be assigned to a System.Xml.XmlNode object,

Meetings service
提供了創(chuàng)建和管理會議工作區(qū)的方法。

System.Xml.XmlNode AddMeeting ( String organizerEmail , String uid , UInt32 sequence , System.DateTime utcDateStamp , String title , String location , System.DateTime utcDateStart , System.DateTime utcDateEnd , System.Boolean nonGregorian )

在會議工作區(qū)增加一次會議

organizerEmail:會議組織者的Email地址 格式:email_address@domain.ext

uid:日歷組件的GUID

sequence:一個int值,用來決定更新順序,如果順序與當(dāng)前順序相同,將應(yīng)用最新的更新。

utcDateStamp:實例化iCalender的日期和時間

title:會議標(biāo)題

location: 會議地點

utcDateStart:會議開始的日期和時間(以UTC格式表達(dá))

utcDateEnd:會議結(jié)束的日期和時間(以UTC格式表達(dá))

nonGregorian:如果日期的設(shè)置格式不同于Gregorian為true,否則false System.Xml.XmlNode

AddMeetingFromICal (String organizerEmail , String icalText )

在Wss中,使用會議工作區(qū)創(chuàng)建一個網(wǎng)絡(luò)、日歷格式的會議

organizerEmail:會議組織者的Email

icalText:iCal(Internet Calendar)代表了與此會議工作區(qū)相關(guān)的會議

System.Xml.XmlNode CreateWorkspace (String title , String templateName ,UInt32 lcid , WssWebService.Meeting.TimeZoneInf timeZoneInformation )

在指定的Wss服務(wù)器上建立一個新的會議工作區(qū)自站點。

Title:新的會議工作區(qū)的標(biāo)題

templateName:建立新的會議工作區(qū)所使用的模版,可以用過查看Wss模版使用指南來指定配置模版

lcid:站點建立時您想使用的Lcid(Local identifier)

timeZoneInformation:站點建立時,您想使用的時間區(qū)域信息

void DeleteWorkspace()從指定的Wss服務(wù)器上刪除會議工作區(qū)

System.Xml.XmlNode GetMeetingsInformation ( System.UInt32 requestFlags ,UInt32 lcid )

此方法列出了Wss服務(wù)器上支持的語言和模版信息。同時指出了調(diào)用者在此會議工作區(qū)內(nèi)是否有管理子站點的權(quán)限。例如:匿名訪問權(quán)限等。

Lcid:您想限制的結(jié)果集的本地Id (local identifier)

requestFlags:可能是一個或多個下面的標(biāo)記

canCreateMeetings:返回ture or false 表明是否有

ManageSubSite的權(quán)限

templateLanguages:返回列表可用的語言模版

templateList:返回本地會議工作區(qū)可用的模版

workspacestatus:返回會議工作區(qū)的信息

System.Xml.XmlNode GetMeetingWorkspaces ( System.Boolean recurring )

在指定的站點上返回所有會議工作區(qū)的列表。

Recurring:true表示會議可重復(fù)。

void RestoreMeeting ( System.String uid )導(dǎo)入并重新鏈接一個以前移除的會議。

Uid:日歷組件的GUID

Void SetAttendeeResponse (String attendeeEmail , System.UInt32 recurrenceId , String uid , System.UInt32 sequence , System.DateTime utcDateTimeOrganizerCriticalChange , System.DateTime utcDateTimeAttendeeCriticalChange , WssWebService.Meeting.AttendeeResponse response )

設(shè)置與會者的應(yīng)答信息。 attendeeEmail The e-mail address, specified as email_address@domain.ext, for the responding user. recurrenceId The recurrence ID for the meeting. For single instance meetings, this parameter can be set to zero. response The response from the responding user (responseAccepted, responseTentative, or responseDeclined). sequence An integer used to determine the ordering of updates in case they arrive out of sequence. Updates with a lower-than-current sequence are discarded. If the sequence is equal to the current sequence, the latest update will be applied. uid A persistent GUID for the calendar component. utcDateTimeOrganizerCriticalChange This parameter is ignored in this release, therefore, this parameter can be a default date time. utcDateTimeAttendeeCriticalChange The date and time that the instance of the attendee object was created, expressed in Coordinated Universal Time

void SetWorkspaceTitle ( System.String title )

設(shè)置會議工作區(qū)的標(biāo)題 title:新的標(biāo)題!

void UpdateMeeting ( System.String uid , System.UInt32 sequence , System.DateTime utcDateStamp , System.String title , System.String location , System.DateTime utcDateStart , System.DateTime utcDateEnd , System.Boolean nonGregorian )

在會議工作區(qū)內(nèi)更新會議的信息

uid:日歷組件的Guid sequence An integer used to determine the ordering of updates in case they arrive out of sequence. Updates with a lower-than-current sequence are discarded. utcDateStamp The date and time that the instance of the iCalendar object was created in UTC format.

Title:會議標(biāo)題

Location:會議地址

utcDateStart:會議開始的日期和時間(以UTC格式表達(dá))

utcDateEnd:會議結(jié)束的日期和時間(以UTC格式表達(dá))

nonGregorian:如果日期的設(shè)置格式不同于Gregorian為true,否則false

System.Xml.XmlNode UpdateMeetingFromICal ( System.String icalText , System.Boolean ignoreAttendees )

icalText The iCal representation of the updated meeting. ignoreAttendees true if you want to skip processing of attendee information in the iCal; otherwise, false.

Permissions service
為一個站點或列表提供權(quán)限的管理

AddPermission()為站點上已存在的用戶組修改權(quán)限級別,或者增加或修改指定列表的用戶、用戶組、跨站點用戶組的訪問權(quán)限。

AddPermissionCollection()為一個站點或列表的權(quán)限結(jié)合增加一些權(quán)限

GetPermissionCollection()返回站點或列表的權(quán)限集合

RemovePermission()從站點或列表中移出指定的權(quán)限

RemovePermissionCollection()從站點或列表中移出指定成員的訪問權(quán)限。

UpdatePermission()為站點或列表修改指定的權(quán)限

Site Data service
返回站點的原數(shù)據(jù)或者列表的原數(shù)據(jù)

EnumerateFolde()返回一個文件夾里的文件或自文件夾的信息

GetAttachments()返回SharePoint 站點中列表的指定項的所有附件

GetList()返回指定列表的源數(shù)據(jù)

GetListCollection()返回當(dāng)前站點的所有列表信息

GetListItems()對指定的列表執(zhí)行一次查詢。

GetSite()返回站點的原數(shù)據(jù)、當(dāng)前站點集合中子站點的信息,站點上跨站點用戶組的信息,以及每個用戶組的成員

GetSiteAndWeb()返回指定站點的子站點的絕對Url以及 高一級的父站點的Url

GetWeb()返回站點及列表的元數(shù)據(jù),以及當(dāng)前站點及站點用戶組的信息。

Sites Service
?在虛擬服務(wù)器上,返回站點模版集合的信息

GetSiteTemplates()返回精確的站點集合的信息,以及虛擬服務(wù)器上站點的模版

Users and Groups Service
提供了用戶、用戶組、跨站點用戶組的工作

AddGroup()向當(dāng)前站點集合中增加一個跨站點用戶組

AddGroupToRole()向指定的站點增加一個跨站點用戶組。

AddRole()向當(dāng)前站點集合中增加一個站點用戶組

AddUserCollectionToGroup()向指定的跨站點用戶組增加一個用戶集合

AddUserCollectionToRole()向指定的用戶組增加

Versions Service
The Versions service provides methods for working with file versions.


DeleteAllVersions
?Deletes all versions of the specified file.
?
DeleteVersion
?Deletes the specified file version.
?
GetVersions
?Returns information about the versions of the specified file.
?
RestoreVersion
?Restores the specified file version.
?


Views Service
提供列表試圖的工作方法

AddView()為指定的列表增加一個試圖

DeleteView()刪除指定列表的指定試圖

GetView()獲取指定列表的制定試圖的架構(gòu)

GetViewCollection()返回指定列表的試圖集合的顯示名、內(nèi)部名、以及Urls

GetViewHtml()返回指定列表制定試圖的完整的架構(gòu),包括Html部分

UpdateView()修改指定列表的指定試

UpdateViewHtml()用提供的屬性及值修改指定的視圖,包括:CAML的顯示屬性及HTML

Web Part Pages Service
從XML Web Service 獲取數(shù)據(jù)或者給XML Web Service 發(fā)送數(shù)據(jù)

AddWebPart()向WebPart 頁面中增加一個新的WebPArt

DeleteWebPart()刪除一個WebPart

GetWebPart()返回WebPart的XML數(shù)據(jù)

GetWebPartCrossPageCompatibility()在目標(biāo)網(wǎng)頁上返回所有的WebPart的相容性providerPartID信息

GetWebPartPageConnectionInfo()返回在同一頁面中包含的所有部分的接口及組信息以及各部分之間的相容性信息

GetWebPartPageDocument()返回一個WebPart頁面,連同WebPart、屬性、以及各個WebParts區(qū)域信息

GetWebPartProperties()返回一個Webpart 頁面所有的WebPart的XMl字符串

GetXmlDataFromDataSource()Returns the XML from a data retrieval service

SaveWebPart()保存對WebPart的更改

GetAllSubWebCollection()

Webs Service
提供對站點或子站點的工作方法。

GetAllSubWebCollection()在當(dāng)前的站點集合中返回所有站點的標(biāo)題和Urls

GetListTemplates()返回當(dāng)前站點模版的集合

GetWeb()返回一個站點的屬性(例如:Name、description、theme等)

GetWebCollection()返回當(dāng)前站點的所有子站點的標(biāo)題和Url

WebUrlFromPageUrl()返回指定頁面上一級頁面的URL

4.SharePoint 事件分析主要功能:
(1) 提供共享信息

(2) 在選定的時間段內(nèi)周期性的執(zhí)行事務(wù)

(3) 可以與Outlook結(jié)合發(fā)送通知屬性描述屬性描述:

? 標(biāo)題(Title):事件的標(biāo)題

? 事件創(chuàng)建者(EventCreater):事件的創(chuàng)建者

? 用戶群體(EvnetUserGroup):與此事件相關(guān)的人員

? 開始時間(StartTime):事件開始執(zhí)行的時間

? 結(jié)束時間(EndTime):事件執(zhí)行結(jié)束時間

? 事件說明(EventDescription):對此次事件的說明

? 事件發(fā)生地點(EvnetAddress):事件發(fā)生的地點

? 事件執(zhí)行周期描述:

? 無模式:在指定的時間上執(zhí)行一次就結(jié)束

? 每日:可以選擇每隔幾天發(fā)生一次

? 每周:可以選擇星期幾發(fā)生

? 每月:可以選擇每隔幾個月第幾天發(fā)生;也可以選擇每隔幾個月的第幾個星期幾發(fā)生。

? 每年:

? 以上(除無模式)都可以選擇總共發(fā)生的次數(shù);結(jié)束日期;或者無結(jié)束日期用戶界面

? 事件列表

(1) 提供事件標(biāo)題、創(chuàng)建人、創(chuàng)建日期、以及事件描述

(2) 提供對事件的操作按鈕如:創(chuàng)建、刪除、編輯、導(dǎo)出,發(fā)送事件信息等

(3) 事件查詢:根據(jù)不同的篩選條件查詢事件

? 新建事件界面:(空白模式)列出所有要填寫的信息

? 編輯事件界面(重現(xiàn)以上界面,但要讀出以前填寫的信息)

? 日歷表形式界面(顯示一個日歷)

? 發(fā)送通知界面(給相關(guān)人員發(fā)送通知)

? 查看事件信息流程

(1):填寫事件信息組件

(1) 事件訪問組件(提供增加事件,刪除事件(判斷權(quán)限)、修改事件、以及根據(jù)不同條件選擇事件)

(2) 事件觸發(fā)組件(首先讀取當(dāng)天要發(fā)生的事件,在檢測發(fā)生時間)

(3) 導(dǎo)入OutLook,自動發(fā)送郵件數(shù)據(jù)訪問

(1)提供增、刪、改、查等功能。數(shù)據(jù)層

(1) 事件信息表(EventInfomation)

EventId int 事件編號

Title varchar(200) 標(biāo)題

Creater int 創(chuàng)建者

Id Usergroup int 用戶群體

Id EventDescription varchar(500) 事件說明

EventAddress varchar(500) 事件發(fā)生地

LastModificationTime DateTime 最近修改時間

EventType int 事件類型號

(2) 事件發(fā)生時間和發(fā)生周期(EventExcute)

EventId int 事件Id StartTime

DateTime 開始時間 EndTime

DateTime 結(jié)束時間 EventPeriod 特定描述字符串例如:SPPS數(shù)據(jù)庫中描述的<recurrence><rule><firstDayOfWeek>su</firstDayOfWeek><repeat><daily dayFrequency='1'/></repeat><repeatInstances>10</repeatInstances></rule></recurrence> 發(fā)生周期

RepeatNum int 事件發(fā)生次數(shù)(-1)為無限制或者按結(jié)束時間計算。為(0)事件結(jié)束

(3) 事件附件表(EventAttachment)

AttachmentId int 附件ID

AttachmentPosition varchar(100) 附件存儲位置

EventId int 附件所屬事件Id

(4) 事件類型表 EventTypeId int 事件類型

TypeDescription varchar(500) 類型描述

TypeTitle varchar(200) 類型標(biāo)題

(5) SORT用戶表

(6) SORT用戶群體表視圖

(1)事件細(xì)節(jié)(EventDetial):合并表(1~3)主要功能是提供讀取事件信息用的存儲過程:(1) sp_AddEvent(所有需要填寫的參數(shù)) (2) sp_AddAttachment(增加附件) (3) sp_DeleteEventById(級聯(lián)刪除事件所有信息)(4) sp_UpdataEvent(修改事件) (5) sp_SelectEventByTitle(根據(jù)標(biāo)題選擇事件) (6) sp_SelectEventByCreater(根據(jù)創(chuàng)建者選擇事件) (7) sp_SelectEventByCreateTime(根據(jù)創(chuàng)建時間選擇事件) (8) sp_SelectEventByAddress(根據(jù)地點選擇事件)

?

本文來自CSDN博客,轉(zhuǎn)載請標(biāo)明出處:http://blog.csdn.net/scott_chou/archive/2008/07/07/2622700.aspx

轉(zhuǎn)載于:https://www.cnblogs.com/ahjxxy/archive/2010/10/31/1865628.html

總結(jié)

以上是生活随笔為你收集整理的sharepoint数据库研究的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網(wǎng)站內(nèi)容還不錯,歡迎將生活随笔推薦給好友。