Classe FileExtraSource
The FileSource type represents a miscellaneous file that is included in the DAC package.
Gerarchia di ereditarietà
System. . :: . .Object
Microsoft.SqlServer.Management.Dac. . :: . .BinarySourceBase
Microsoft.SqlServer.Management.Dac..::..FileExtraSource
Spazio dei nomi Microsoft.SqlServer.Management.Dac
Assembly: Microsoft.SqlServer.Management.Dac (in Microsoft.SqlServer.Management.Dac.dll)
Sintassi
'Dichiarazione
Public Class FileExtraSource _
Inherits BinarySourceBase _
Implements IExtraSource, IBinarySource, ISizeItem
'Utilizzo
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
Nel tipo FileExtraSource sono esposti i membri seguenti.
Costruttori
Nome | Descrizione | |
---|---|---|
![]() |
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 alto
Proprietà
Nome | Descrizione | |
---|---|---|
![]() |
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 alto
Metodi
Nome | Descrizione | |
---|---|---|
![]() |
Equals | Determines whether this object is equal to the specified object. Esegue l'override di Object. . :: . .Equals(Object). |
![]() |
Finalize | Ereditato da Object. |
![]() |
GetContentReader | Gets the I/O file stream reader for the miscellaneous file. Esegue l'override di BinarySourceBase. . :: . .GetContentReader() () () (). |
![]() |
GetContents | Gets the contents of the file stream in a byte array. Ereditato da BinarySourceBase. |
![]() |
GetHashCode | Returns the hash code for this object. Esegue l'override di Object. . :: . .GetHashCode() () () (). |
![]() |
GetType | Ereditato da Object. |
![]() |
MemberwiseClone | Ereditato da Object. |
![]() |
ToString | Ereditato da Object. |
In alto
Osservazioni
Using the FileSource object, you can:
Access the miscellaneous file name and path.
Access the I/O file stream reader for the file.
Protezione dei thread
I membri static (Shared in Visual Basic) pubblici di questo tipo sono affidabili. Non è invece garantita la sicurezza dei membri dell'istanza.