Library Specification Object Model Reference |
|
ISurveyAsset Members
ISurveyAsset overview
Public Instance Properties
AssetType | Indicates the type of asset stored in the library. Typically this is the mime-type. |
AssociatedFileNames | Returns the list of other files associated with this asset. These may include HTML templates, word documents, or any other file that should be included when this survey asset is used. |
HasAssociatedFiles | Returns true if this has a set of associated files. |
Name | Returns the name if the survey asset. |
ReviewHistory | Returns the review history for this asset |
Stage | Returns the stage of this asset, or null if the asset isn't in a stage. |
Text | Returns the caption for this asset. |
Topics | The (sub)topics that categorize this asset. |
Version | Returns the version of this asset, or null if the asset doesn't have a version. |
Public Instance Methods
Add | Adds to the repository, if it doesn’t already exist. |
AddAssociatedFile | Overloaded. Adds an associated file to the asset. |
AddAssociatedFiles | |
Copy | Overloaded. Creates a local copy of this asset. All non-unique fields are copied to the new asset. This is a shallow copy of the asset's versions, only the latest version is copied, and the version and id fields are null. |
Delete | Deletes this asset from the stage it exists in within the repository. |
DeleteAssociatedFile | Deletes an associated file from the asset. |
GetAttribute | Returns the value of a attribute |
Move | Moves this asset, if it exists in the repository, from the current stage to the specified stage. |
MoveAndAppend | Moves this asset, if it exists in the repository, from the current stage to the specified stage. If the asset already exists in the stage specified, then this asset's versions are pre-pended the existing asset's versions. |
OpenAsset | Opens a stream to the .mzd file. |
OpenAssociatedFile | Returns an input stream for the named associated file. |
Refresh | Refreshes the local asset by retrieveing the physical asset from the repository. |
SaveLocal | Saves the contents of this SurveyAsset to the directory path provided. |
SetAttribute | Sets a attribute value. |
Update | Updates the repository with any locally changed values within the asset. |
See Also
ISurveyAsset Interface | Spss.Dimensions.Library.Specification Namespace