Share via


SPPersistedFile constructor (String, SPPersistedObject)

Initializes a new instance of the SPPersistedFile class, with the specified file name and owner, to create an object that can be used to manage a file stored in the configuration store.

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

Syntax

'Declaration
Public Sub New ( _
    filename As String, _
    owner As SPPersistedObject _
)
'Usage
Dim filename As String
Dim owner As SPPersistedObject

Dim instance As New SPPersistedFile(filename, _
    owner)
public SPPersistedFile(
    string filename,
    SPPersistedObject owner
)

Parameters

  • filename
    Type: System.String

    A String that contains the full local file system path of the file to store.

See also

Reference

SPPersistedFile class

SPPersistedFile members

SPPersistedFile overload

Microsoft.SharePoint.Administration namespace