Partager via


TSqlSourceFile Class

The TSqlSourceFile class represents a Transact-SQL source file.

Inheritance Hierarchy

Object
  Microsoft.SqlServer.Management.Dac.TSqlSourceFile

Namespace:  Microsoft.SqlServer.Management.Dac
Assembly:  Microsoft.SqlServer.Management.Dac (in Microsoft.SqlServer.Management.Dac.dll)

Syntax

'Déclaration
Public Class TSqlSourceFile
'Utilisation
Dim instance As TSqlSourceFile
public class TSqlSourceFile
public ref class TSqlSourceFile
type TSqlSourceFile =  class end
public class TSqlSourceFile

The TSqlSourceFile type exposes the following members.

Properties

  Name Description
Public property FileName Gets the name of the Transact-SQL source file.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method Rename Changes the source file name to the specified string.
Public method ToString (Inherited from Object.)
Public method UpdateContent Replaces the contents of the source file.

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.SqlServer.Management.Dac Namespace