Clase FileExtraSource
The FileSource type represents a miscellaneous file that is included in the DAC package.
Jerarquía de herencia
System. . :: . .Object
Microsoft.SqlServer.Management.Dac. . :: . .BinarySourceBase
Microsoft.SqlServer.Management.Dac..::..FileExtraSource
Espacio de nombres: Microsoft.SqlServer.Management.Dac
Ensamblado: Microsoft.SqlServer.Management.Dac (en Microsoft.SqlServer.Management.Dac.dll)
Sintaxis
'Declaración
Public Class FileExtraSource _
Inherits BinarySourceBase _
Implements IExtraSource, IBinarySource, ISizeItem
'Uso
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
El tipo FileExtraSource expone los siguientes miembros.
Constructores
Nombre | Descripción | |
---|---|---|
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. |
Arriba
Propiedades
Nombre | Descripción | |
---|---|---|
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. |
Arriba
Métodos
Nombre | Descripción | |
---|---|---|
Equals | Determines whether this object is equal to the specified object. (Invalida Object. . :: . .Equals(Object).) | |
Finalize | (Se hereda de Object.) | |
GetContentReader | Gets the I/O file stream reader for the miscellaneous file. (Invalida BinarySourceBase. . :: . .GetContentReader() () () ().) | |
GetContents | Gets the contents of the file stream in a byte array. (Se hereda de BinarySourceBase.) | |
GetHashCode | Returns the hash code for this object. (Invalida Object. . :: . .GetHashCode() () () ().) | |
GetType | (Se hereda de Object.) | |
MemberwiseClone | (Se hereda de Object.) | |
ToString | (Se hereda de Object.) |
Arriba
Comentarios
Using the FileSource object, you can:
Access the miscellaneous file name and path.
Access the I/O file stream reader for the file.
Seguridad para subprocesos
Cualquier miembro público static (Shared en Visual Basic) de este tipo es seguro para subprocesos. No se garantiza que los miembros de instancia sean seguros para subprocesos.