Share via


SPPersistedFile constructor (String, String, SPPersistedObject)

Initializes a new instance of the SPPersistedFile class, with the specified name, 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 ( _
    name As String, _
    filename As String, _
    owner As SPPersistedObject _
)
'Usage
Dim name As String
Dim filename As String
Dim owner As SPPersistedObject

Dim instance As New SPPersistedFile(name, filename, _
    owner)
public SPPersistedFile(
    string name,
    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