Classe FileExtraSource
The FileSource type represents a miscellaneous file that is included in the DAC package.
Hierarquia de herança
System. . :: . .Object
Microsoft.SqlServer.Management.Dac. . :: . .BinarySourceBase
Microsoft.SqlServer.Management.Dac..::..FileExtraSource
Namespace: Microsoft.SqlServer.Management.Dac
Assembly: Microsoft.SqlServer.Management.Dac (em Microsoft.SqlServer.Management.Dac.dll)
Sintaxe
'Declaração
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
O tipo FileExtraSource expõe os membros a seguir.
Construtores
Nome | Descrição | |
---|---|---|
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. |
Início
Propriedades
Nome | Descrição | |
---|---|---|
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. |
Início
Métodos
Nome | Descrição | |
---|---|---|
Equals | Determines whether this object is equal to the specified object. (Substitui Object. . :: . .Equals(Object).) | |
Finalize | (Herdado de Object.) | |
GetContentReader | Gets the I/O file stream reader for the miscellaneous file. (Substitui BinarySourceBase. . :: . .GetContentReader() () () ().) | |
GetContents | Gets the contents of the file stream in a byte array. (Herdado de BinarySourceBase.) | |
GetHashCode | Returns the hash code for this object. (Substitui Object. . :: . .GetHashCode() () () ().) | |
GetType | (Herdado de Object.) | |
MemberwiseClone | (Herdado de Object.) | |
ToString | (Herdado de Object.) |
Início
Comentários
Using the FileSource object, you can:
Access the miscellaneous file name and path.
Access the I/O file stream reader for the file.
Segurança de thread
Qualquer membro público static (Shared no Visual Basic) desse tipo é seguro para threads. Não há garantia de que qualquer membro de instância seja seguro para threads.