SPPersistedFile Members
Include Protected Members
Include Inherited Members
Represents a file stored in the configuration store that is used for administration and deployment.
The SPPersistedFile type exposes the following members.
Constructors
Name | Description | |
---|---|---|
SPPersistedFile() | Infrastructure. | |
SPPersistedFile(String, SPPersistedObject) | Initializes a new version of the SPPersistedFile class to create an object that can be used to manage a file stored in the configuration store. |
Top
Properties
Name | Description | |
---|---|---|
DisplayName | Gets the display name that describes the persisted object instance within the administrative user interface. (Inherited from SPPersistedObject.) | |
Farm | Gets the server farm where the object lives. (Inherited from SPPersistedObject.) | |
Id | Gets or sets the GUID that is associated with the object. (Inherited from SPPersistedObject.) | |
Name | Gets or sets the name that identifies a particular instance of the object. (Inherited from SPPersistedObject.) | |
Parent | Gets the ID of the parent class that declares the object. (Inherited from SPPersistedObject.) | |
Properties | Gets a property bag that is used to store properties for the persisted object. (Inherited from SPPersistedObject.) | |
Status | Gets or sets the status of the object that the class represents. (Inherited from SPPersistedObject.) | |
TypeName | Gets the display name that describes the object type in the administrative user interface. (Inherited from SPPersistedObject.) | |
UpgradedPersistedProperties | Gets the collection of field names and values for fields that were deleted or changed. (Inherited from SPAutoSerializingObject.) | |
Version | Gets the time that the object was last updated. (Inherited from SPPersistedObject.) |
Top
Methods
Name | Description | |
---|---|---|
Clone | Returns a clone of the object that does not come from the in-memory cache, which enables calling code to help ensure thread safety. (Inherited from SPPersistedObject.) | |
Delete | Removes the object from the collection and the server farm. (Inherited from SPPersistedObject.) | |
Equals | Determines whether the current persisted object equals the specified object. (Inherited from SPPersistedObject.) | |
Finalize | (Inherited from Object.) | |
GetChild<T>() | Returns the child of the persisted object based on the specified type. (Inherited from SPPersistedObject.) | |
GetChild<T>(String) | Returns the child object of the persisted object based on the specified name. (Inherited from SPPersistedObject.) | |
GetHashCode | Serves as a hash function for the persisted object. (Inherited from SPPersistedObject.) | |
GetObjectData | Retrieves the data required to serialize the object. (Inherited from SPAutoSerializingObject.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
OnDeserialization | Called immediately after the base class deserializes itself to do additional work. (Inherited from SPPersistedObject.) | |
Provision | Makes the necessary changes to the local server to use the object. (Inherited from SPPersistedObject.) | |
SaveAs | Retrieves the file from the configuration store and writes it to the specified location. | |
ToString | Returns the type and name of an object and of all its ancestors (parent, grandparent, and so on). (Inherited from SPPersistedObject.) | |
Uncache | Frees the memory cache that is used by the object. (Inherited from SPPersistedObject.) | |
Unprovision | Makes the necessary changes to the local server to clean up after deleting the object. (Inherited from SPPersistedObject.) | |
Update() | Ensures that the file is in the configuration store and updates the class metadata. (Overrides SPPersistedObject.Update().) | |
Update(Boolean) | Causes the object to save its state and propagate changes to all the computers in the server farm based on a Boolean value that specifies whether to raise an exception if the object already exists. (Inherited from SPPersistedObject.) | |
UpdateParent | Causes the containing SPPersistedObject, if one exists, to update its state. (Inherited from SPAutoSerializingObject.) | |
Validate | Validates the state of all fields before persisting the object. (Inherited from SPPersistedObject.) |
Top