Condividi tramite


DIFsrmClassificationEvents.OnFile Method (String, Int32, String, IFsrmCollection)

 

Receives properties of files that are returned in a call to ClassifyFiles.

Namespace:   Microsoft.Storage
Assembly:  srmlib (in srmlib.dll)

Syntax

bool OnFile(
    string filePath,
    int result,
    string fileMessages,
    IFsrmCollection fileProperties
)
bool OnFile(
    String^ filePath,
    int result,
    String^ fileMessages,
    IFsrmCollection^ fileProperties
)
abstract OnFile : 
        filePath:string *
        result:int *
        fileMessages:string *
        fileProperties:IFsrmCollection -> bool
Function OnFile (
    filePath As String,
    result As Integer,
    fileMessages As String,
    fileProperties As IFsrmCollection
) As Boolean

Parameters

  • result
    Type: System.Int32

    Return value for the specific file. If this value is an error code then the fileProperties parameter may be NULL.

  • fileMessages
    Type: System.String

    Message specific to any error.

Return Value

Type: System.Boolean

Returns a Boolean value that is TRUE if there were no errors processing the event and FALSE otherwise.

See Also

DIFsrmClassificationEvents Interface
Microsoft.Storage Namespace

Return to top