Send feedback on this topic.
Teradata.Client.Provider
TdFileEventArgs Class
Members 



Teradata.Client.Provider Namespace : TdFileEventArgs Class
This class contains information about the file that was specified in the DDL statement to create a function (e.g. stored procedure, UDF, UDT). The information that it contains are: name of file, type of file, source language of function.
Syntax
'Declaration
 
Public NotInheritable Class TdFileEventArgs 
   Inherits System.EventArgs
'Usage
 
Dim instance As TdFileEventArgs
public sealed class TdFileEventArgs : System.EventArgs 
public ref class TdFileEventArgs sealed : public System.EventArgs 
Remarks

This class is a required parameter for the signature of the callback that is used when declaring the TdOpenFileEventHandler and TdCloseFileEventHandler delegates. It provides the application the name of the file (TdFileEventArgs.FileName) that was specified in the DDL.

It is the responsibility of the application to open the file as an IO.Stream object. The stream is passed back to the provider by setting the TdFileEventArgs.FileStream property.

For an example on how this class is used refer to TdConnection.OpenFile.

Inheritance Hierarchy

System.Object
   System.EventArgs
      Teradata.Client.Provider.TdFileEventArgs

Requirements

Target Platforms: Windows 8.1, Windows 10, Windows Server 2012 R2, Windows Server 2016, Windows Server 2019

See Also

Reference

TdFileEventArgs Members
Teradata.Client.Provider Namespace