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.StringA String that contains the full local file system path of the file to store.
owner
Type: Microsoft.SharePoint.Administration.SPPersistedObjectAn SPPersistedObject object that represents the parent object of this class instance.