FileExtraSource 类
The FileSource type represents a miscellaneous file that is included in the DAC package.
继承层次结构
System. . :: . .Object
Microsoft.SqlServer.Management.Dac. . :: . .BinarySourceBase
Microsoft.SqlServer.Management.Dac..::..FileExtraSource
命名空间: Microsoft.SqlServer.Management.Dac
程序集: Microsoft.SqlServer.Management.Dac(在 Microsoft.SqlServer.Management.Dac.dll 中)
语法
声明
Public Class FileExtraSource _
Inherits BinarySourceBase _
Implements IExtraSource, IBinarySource, ISizeItem
用法
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
FileExtraSource 类型公开以下成员。
构造函数
名称 | 说明 | |
---|---|---|
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. |
页首
属性
名称 | 说明 | |
---|---|---|
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. |
页首
方法
名称 | 说明 | |
---|---|---|
Equals | Determines whether this object is equal to the specified object. (覆盖 Object. . :: . .Equals(Object)。) | |
Finalize | (从 Object 继承。) | |
GetContentReader | Gets the I/O file stream reader for the miscellaneous file. (覆盖 BinarySourceBase. . :: . .GetContentReader() () () ()。) | |
GetContents | Gets the contents of the file stream in a byte array. (从 BinarySourceBase 继承。) | |
GetHashCode | Returns the hash code for this object. (覆盖 Object. . :: . .GetHashCode() () () ()。) | |
GetType | (从 Object 继承。) | |
MemberwiseClone | (从 Object 继承。) | |
ToString | (从 Object 继承。) |
页首
注释
Using the FileSource object, you can:
Access the miscellaneous file name and path.
Access the I/O file stream reader for the file.
线程安全
此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。