Share via


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)

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