Click or drag to resize

ConfigurationFile Class

Represents a configuration file.
Inheritance Hierarchy

Namespace:  Colygon.MatchPoint.Core.Administration
Assembly:  Colygon.MatchPoint (in Colygon.MatchPoint.dll) Version: 2019.2.1.0
Syntax
C#
public class ConfigurationFile

The ConfigurationFile type exposes the following members.

Constructors
  NameDescription
Public methodConfigurationFile(String)
Creates a configuration file object with the specified full name on the current MatchPoint instance.
Public methodConfigurationFile(String, MPInstance)
Creates a configuration file object with the specified full name.
Public methodConfigurationFile(String, Type)
Creates a configuration file object with the specified name and type on the current MatchPoint instance.
Public methodConfigurationFile(String, Type, MPInstance)
Creates a configuration file object with the specified name and type.
Protected methodConfigurationFile(String, Type, Boolean, MPInstance)
Initializes a new instance of the ConfigurationFile class
Top
Properties
  NameDescription
Public propertyConfiguration
Returns the configuration object of the configuration file.
Public propertyExists
Returns true if a configuration file with the specified name exists within the current MatchPoint instance.
Public propertyFullName
Returns a formated string that represents configuration type and name.
Public propertyName
Returns the configuration file name.
Public propertyType
Returns the type of the configuration file.
Public propertyVersion
Returns the current version of this configuration file.
Public propertyVersions
Returns a collection of the configuration file versions.
Top
Methods
  NameDescription
Public methodDoesUserHavePermissions
Returns true if the current user has the specified permissions on the configuration file.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodStatic memberGetFilesT
Public methodStatic memberGetFilesT(MPInstance)
Returns all configuration files whether the user has permission to read/write the configuration or not.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodLoadConfiguration
Returns the configuration object for the specified version.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodStatic memberOpenElevated(String, MPInstance)
Public methodStatic memberOpenElevated(String, Type, MPInstance)
Public methodStatic memberOpenElevatedT(String)
Public methodStatic memberOpenElevatedT(String, MPInstance)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodUpdate
Updates the configuration object and writes changes to the configuration file.
Top
Fields
  NameDescription
Public fieldInstance
Contains the MatchPoint instance that stores this configuration file.
Top
Remarks
#APIChange 5.0: removed public bool DoesUserHavePermissions(SPUser user, SPBasePermissions permissionMask)
See Also