File 元素 (DeploymentManifest - SPFileVersionCollection)
上次修改时间: 2015年3月9日
适用范围: SharePoint Foundation 2010
本文内容
类型
属性
子元素
父元素
表示一个 SharePoint Foundation 2010 文件 (SPFile) 对象的版本控制实例。
DECLARATION
<xs:element name="File"
type="SPFile"
minOccurs="1" maxOccurs="unbounded"
/>
USAGE
<Versions>
<File
Name="xs:string"
Id="Guid"
Url="xs:string"
ListItemIntId="xs:int"
ParentWebId="Guid"
ParentWebUrl="xs:string"
ParentId="Guid"
ListId="Guid"
FileValue="xs:string"
CheckinComment="xs:string"
Version="xs:string"
Author="xs:string"
ModifiedBy="xs:string"
TimeCreated="xs:dateTime"
TimeLastModified="xs:dateTime"
FailureMessage="xs:string"
IsGhosted="xs:boolean"
SetupPath="Guid"
SetupPathUser="xs:string"
SetupPathVersion="xs:byte"
<Properties />
<Versions />
<WebParts />
<Personalizations />
<Links />
<EventReceivers />
/>
</Versions>
类型
属性
属性 |
类型 |
说明 |
---|---|---|
Name |
xs:string |
可选。文件的名称。 |
Id |
可选。文件的唯一标识符。 |
|
Url |
xs:string |
可选。文件相对于网站的 URL。 |
ListItemIntId |
xs:int |
可选。整数标识符,用于指定列表项在文档库中的相对位置。 |
ParentWebId |
可选。父网站的唯一标识符。 |
|
ParentWebUrl |
xs:string |
可选。指向父网站的 URL。 |
ParentId |
可选。文件的父文件夹的唯一标识符。 |
|
ListId |
可选。文件所在的列表的唯一标识符。ListId 值必须与 Versions 属性的值匹配。 |
|
FileValue |
xs:string |
可选。指定文件在磁盘上的位置。 |
CheckinComment |
xs:string |
可选。在签入文件时提供的注释。 |
Versions |
xs:string |
可选。表示指定文件版本的文件版本对象的集合。 |
Author |
xs:string |
可选。创建或上载文件的用户。 |
ModifiedBy |
xs:string |
可选。上次修改文件的用户。 |
TimeCreated |
xs:dateTime |
可选。表示文件创建或上载时间的日期时间值。 |
TimeLastModified |
xs:dateTime |
可选。表示文件上次修改的时间的日期时间值。 |
FailureMessage |
xs:string |
可选。在导出或导入失败时显示的消息。 |
IsGhosted |
xs:boolean |
可选。指定文件是否位于前端(而不在数据库中),如果位于前端,则无需往返于数据库服务器。 |
SetupPath |
xs:string |
可选。当 IsGhosted 属性为 true 时,表示指向前端文件位置的路径。 |
SetupPathUser |
xs:string |
可选。最初在文档库中创建列表的人员。 |
SetupPathVersion |
xs:byte |
可选。指定 Microsoft SharePoint Foundation 版本。值 2 指定 Windows SharePoint Services 2.0;值 3 指定 Windows SharePoint Services 3.0。 |