Share via


File 元素 (XMLA)

識別父 備份還原 命令所使用的檔案,或由父 位置 元素所使用的檔案。

Syntax

  
<Backup> <!-- or one of the elements listed below in the Element relationships table -->  
   ...  
   <File>...</File>  
   ...  
</Backup>  

元素特性

特性 描述
資料類型和長度 String
預設值 None
基數 1-1:只出現一次的必要元素。

元素關聯性

關聯性 元素
父元素 備份位置還原
子元素 None

備註

File元素包含 UNC 檔案名,而父項目則決定file元素的使用。

針對 backup 命令, File 元素會決定 backup 命令所建立的備份檔案名稱。 如果未在檔案名中指定路徑,則會使用 Analysis Services 實例的 BackupDir 設定屬性中所指定的路徑。 如果指定的檔案已經存在,除非父備份命令的AllowOverwrite元素設定為True,否則會發生錯誤。

restore 命令中, File 元素會決定 restore 命令要還原的備份檔案名稱。

針對 Location 元素, File 元素會描述包含遠端資料分割之 Analysis Services 實例的遠端備份檔案。