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)
Available in Sandboxed Solutions: No
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
name
Type: System.StringA String that contains the logical name of the file.
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.