Compartilhar 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)
Available in Sandboxed Solutions: No

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