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) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。
.gif)
.gif)
.gif)