共用方式為


SPWebApplication.OfficialFileName property

取得或設定記錄儲存機制 Web 服務,以用來取得官方檔案的名稱。

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'宣告
Public Property OfficialFileName As String
    Get
    Set
'用途
Dim instance As SPWebApplication
Dim value As String

value = instance.OfficialFileName

instance.OfficialFileName = value
public string OfficialFileName { get; set; }

Property value

Type: System.String
包含記錄存放庫 Web 服務的名稱的字串。

備註

a null reference (Nothing in Visual Basic)的值會指出該Microsoft SharePoint Foundation未設定成送出至官方檔案伺服器的檔案。

請參閱

參照

SPWebApplication class

SPWebApplication members

Microsoft.SharePoint.Administration namespace