Udostępnij za pośrednictwem


RollingFlatFileSink.StreamWriterRollingHelper.UpdateRollingInformationIfNecessary Method

Applies to: Semantic Logging 2.0

Updates book keeping information necessary for rolling, as required by the specified rolling configuration.

Namespace: Microsoft.Practices.EnterpriseLibrary.SemanticLogging.Sinks
Assembly: Microsoft.Practices.EnterpriseLibrary.SemanticLogging.TextFile (in Microsoft.Practices.EnterpriseLibrary.SemanticLogging.TextFile.dll) Version: 2.0.1406.1

Syntax

public bool UpdateRollingInformationIfNecessary()
'Declaration
Public Function UpdateRollingInformationIfNecessary As Boolean

Return Value

Type: Boolean
true if update was successful, false if an error occurred.

See Also

RollingFlatFileSink.StreamWriterRollingHelper Class

RollingFlatFileSink.StreamWriterRollingHelper Members

Microsoft.Practices.EnterpriseLibrary.SemanticLogging.Sinks Namespace