FPCLog Object
The FPCLog object is used to specify the logging configuration for a specific component. Forefront TMG generates logs for monitoring and analyzing the status of the following components:
- Web proxy logging.
- Microsoft Firewall service logging.
Each FPCLog object is an element of an FPCLogs collection.
Click here to see the Forefront TMG object hierarchy.
Inheritance
This object inherits from the FPCPersist object, which contains methods and properties related to the persistent storage of an object's data. They include methods for exporting the object's data to and importing it from an XML document.
Methods
The FPCLog object does not define any methods.
Properties
The FPCLog object defines the following properties.
Property | Description |
---|---|
Gets a value from the FpcLoggingComponents enumerated type that specifies the component to which the logging configuration refers. |
|
Gets or sets a Boolean value that indicates whether old log files will be deleted to maintain the total log size below the maximum allowed value, or to maintain the amount of free disk space above the required minimum. |
|
Gets or sets a Boolean value that indicates whether connections are to be dropped when logging errors occur. |
|
Gets or sets a Boolean value that indicates whether logging is enabled. |
|
Gets or sets a Boolean value that indicates whether the lower limit on the free disk space is enforced. |
|
Gets or sets a Boolean value that indicates whether the upper limit on the total log size is enforced. |
|
Gets or sets the name of the Structured Query Language (SQL) data source. |
|
Sets the password for connecting to the SQL table. |
|
Gets or sets the name of the SQL table. |
|
Gets or sets the user name for connecting to the SQL table. |
|
Gets or sets a bitmask in which each bit specifies whether a particular log field is selected for logging. |
|
Gets or sets a string in which each character specifies whether a particular log field is selected for logging. |
|
Gets or sets the full path of the directory containing the text log files. |
|
Gets or sets a value from the FpcLogFileDirectoryType enumerated type that indicates the type of path specified for the log files. |
|
Gets or sets the number of days during which old log files will be retained. |
|
Gets or sets a Boolean value that indicates whether text log files will be compressed. |
|
Gets or sets a value from the FpcLogType enumerated type that specifies the type of log. |
|
Gets or sets the upper limit on the total amount of disk space used to store log files, in gigabytes. |
|
Gets or sets the lower limit on the amount of free disk space, in megabytes. |
|
Gets or sets a value from the FpcSQLAuthType enumerated type that specifies the type of authentication that will be used to connect to a SQL Server database. |
|
Gets or sets the name of the SQL Server database. |
|
Gets or sets a Boolean value that indicates whether a secure connection is to be used when logging to a SQL Server database. |
|
Gets or sets the name of the SQL Server computer. |
|
Gets or sets the SQL Server port number. |
Methods Inherited from FPCPersist
Name | Description |
---|---|
CancelWaitForChanges | Cancels the registration established by the WaitForChanges method (for use in C and C++ programming only). |
CanImport | Returns a Boolean value that indicates whether the object's properties can be imported from the specified XML document. |
Export | Writes the stored values of all of the object's properties to the specified XML document. |
ExportToFile | Writes the stored values of all of the object's properties to the specified XML file. |
GetServiceRestartMask | Retrieves a 32-bit bitmask of the FpcServices enumerated type that specifies which services need to be restarted for currently unsaved changes to take effect. |
Import | Copies the values of all of the object's properties from the specified XML document to persistent storage. |
ImportFromFile | Copies the values of all of the object's properties from the specified XML file to persistent storage. |
LoadDocProperties | Provides the XML document's properties so that you can know what information can be imported from the document. |
Refresh | Reads the values of all of the object's properties from persistent storage, overwriting any changes that have not been saved. |
Save | Writes the current values of all of the object's properties to persistent storage. |
WaitForChanges | Registers to wait for an event indicating that the contents of the object have changed (for use in C and C++ programming only). |
Properties Inherited from FPCPersist
Name | Description |
---|---|
PersistentName | Gets the persistent name of the object. The persistent name of an object is a name that is unique for the object at the respective level of the COM object hierarchy. |
VendorParameterSets | Gets an FPCVendorParametersSets object that can hold sets of custom data for extending the object. |
Interfaces for C++ Programming
This object implements the IFPCLog, IFPCEELog, and IFPCLog2 interfaces.
Requirements
Client | Requires Windows 7 or Windows Vista. |
Server | Requires Windows Server 2008 R2 or Windows Server 2008 x64 Edition with SP2. |
Version | Requires Forefront Threat Management Gateway (TMG) 2010. |
IDL | Declared in Msfpccom.idl. |
See Also
Send comments about this topic to Microsoft
Build date: 6/30/2010