共用方式為


SPWebApplication.OfficialFileName Property

Gets or sets the name of the Records Repository Web Service to use to get the official file.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public Property OfficialFileName As String
    Get
    Set
'Usage
Dim instance As SPWebApplication
Dim value As String

value = instance.OfficialFileName

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

Property Value

Type: System.String
A string that contains the name of the Records Repository Web Service.

Remarks

A value of a null reference (Nothing in Visual Basic) indicates that Microsoft SharePoint Foundation is not configured to submit files to an official file server.

See Also

Reference

SPWebApplication Class

SPWebApplication Members

Microsoft.SharePoint.Administration Namespace