Classe FileExtraSource
The FileSource type represents a miscellaneous file that is included in the DAC package.
Hiérarchie d'héritage
System. . :: . .Object
Microsoft.SqlServer.Management.Dac. . :: . .BinarySourceBase
Microsoft.SqlServer.Management.Dac..::..FileExtraSource
Espace de noms : Microsoft.SqlServer.Management.Dac
Assembly : Microsoft.SqlServer.Management.Dac (en Microsoft.SqlServer.Management.Dac.dll)
Syntaxe
'Déclaration
Public Class FileExtraSource _
Inherits BinarySourceBase _
Implements IExtraSource, IBinarySource, ISizeItem
'Utilisation
Dim instance As FileExtraSource
public class FileExtraSource : BinarySourceBase,
IExtraSource, IBinarySource, ISizeItem
public ref class FileExtraSource : public BinarySourceBase,
IExtraSource, IBinarySource, ISizeItem
type FileExtraSource =
class
inherit BinarySourceBase
interface IExtraSource
interface IBinarySource
interface ISizeItem
end
public class FileExtraSource extends BinarySourceBase implements IExtraSource, IBinarySource, ISizeItem
Le type FileExtraSource expose les membres suivants.
Constructeurs
Nom | Description | |
---|---|---|
FileExtraSource(String, String, IEnumerable< (Of < <' (String> ) > > )) | Initializes a new instance of the FileExtraSource class from a file at the specified path and set of tags. | |
FileExtraSource(String, String, array<String> [] () [] []) | Initializes a new instance of the FileExtraSource class from a file at the specified path and set of tags. |
Haut de la page
Propriétés
Nom | Description | |
---|---|---|
FileName | Gets the file name of the miscellaneous file. | |
FilePath | Gets the file path of the miscellaneous file. | |
Size | Gets the size of the miscellaneous file. | |
Tags | Gets the collection of tags associated with the extra source file. |
Haut de la page
Méthodes
Nom | Description | |
---|---|---|
Equals | Determines whether this object is equal to the specified object. (remplace Object. . :: . .Equals(Object).) | |
Finalize | (hérité de Object.) | |
GetContentReader | Gets the I/O file stream reader for the miscellaneous file. (remplace BinarySourceBase. . :: . .GetContentReader() () () ().) | |
GetContents | Gets the contents of the file stream in a byte array. (hérité de BinarySourceBase.) | |
GetHashCode | Returns the hash code for this object. (remplace Object. . :: . .GetHashCode() () () ().) | |
GetType | (hérité de Object.) | |
MemberwiseClone | (hérité de Object.) | |
ToString | (hérité de Object.) |
Haut de la page
Notes
Using the FileSource object, you can:
Access the miscellaneous file name and path.
Access the I/O file stream reader for the file.
Sécurité des threads
Tous les membres publics static (Shared dans Visual Basic) de ce type sont thread-safe. Tous les membres de l'instance ne sont pas garantis comme étant thread-safe.