Condividi tramite


SPPersistedFile.SaveAs Method

Retrieves the file from the configuration store and writes it to the specified location.

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

Syntax

'Declaration
Public Sub SaveAs ( _
    fileName As String _
)
'Usage
Dim instance As SPPersistedFile
Dim fileName As String

instance.SaveAs(fileName)
public void SaveAs(
    string fileName
)

Parameters

  • fileName
    Type: System.String

    A string that specifies the local path where the file will be written.

See Also

Reference

SPPersistedFile Class

SPPersistedFile Members

Microsoft.SharePoint.Administration Namespace