共用方式為


SPWebApplication.OfficialFileUrl Property

Gets or sets the URL 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 OfficialFileUrl As Uri
    Get
    Set
'Usage
Dim instance As SPWebApplication
Dim value As Uri

value = instance.OfficialFileUrl

instance.OfficialFileUrl = value
public Uri OfficialFileUrl { get; set; }

Property Value

Type: System.Uri
A System.Uri object.

Remarks

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

See Also

Reference

SPWebApplication Class

SPWebApplication Members

Microsoft.SharePoint.Administration Namespace