CollectionSet 類別
CollectionSet 類別衍生自 SFC::SfcInstanceBase,並且實作 SFC::ICreatable、SFC::IDropable 和 SFC::IAlterable。
繼承階層
System. . :: . .Object
Microsoft.SqlServer.Management.Sdk.Sfc. . :: . .SfcInstance
Microsoft.SqlServer.Management.Collector..::..CollectionSet
命名空間: Microsoft.SqlServer.Management.Collector
組件: Microsoft.SqlServer.Management.Collector (在 Microsoft.SqlServer.Management.Collector.dll 中)
語法
'宣告
Public NotInheritable Class CollectionSet _
Inherits SfcInstance _
Implements ISfcCreatable, ICreatable, ISfcDroppable, IDroppable, _
ISfcAlterable, IAlterable, ISfcRenamable, ISfcDiscoverObject
'用途
Dim instance As CollectionSet
public sealed class CollectionSet : SfcInstance,
ISfcCreatable, ICreatable, ISfcDroppable, IDroppable, ISfcAlterable,
IAlterable, ISfcRenamable, ISfcDiscoverObject
public ref class CollectionSet sealed : public SfcInstance,
ISfcCreatable, ICreatable, ISfcDroppable, IDroppable, ISfcAlterable,
IAlterable, ISfcRenamable, ISfcDiscoverObject
[<SealedAttribute>]
type CollectionSet =
class
inherit SfcInstance
interface ISfcCreatable
interface ICreatable
interface ISfcDroppable
interface IDroppable
interface ISfcAlterable
interface IAlterable
interface ISfcRenamable
interface ISfcDiscoverObject
end
public final class CollectionSet extends SfcInstance implements ISfcCreatable, ICreatable, ISfcDroppable, IDroppable, ISfcAlterable, IAlterable, ISfcRenamable, ISfcDiscoverObject
CollectionSet 型別公開下列成員。
建構函式
名稱 | 說明 | |
---|---|---|
CollectionSet() () () () | 具現化收集組物件。 | |
CollectionSet(CollectorConfigStore, String) | 初始化 CollectionSet 的執行個體,其擁有指定做為父系的 CollectorConfigStore 物件和收集組名稱。 |
上層
屬性
名稱 | 說明 | |
---|---|---|
AbstractIdentityKey | (繼承自 SfcInstance。) | |
CollectionItems | 取得收集組中的收集項。 | |
CollectionMode | 取得或設定收集組的收集模式。 | |
DaysUntilExpiration | 取得或設定收集到的資料儲存在管理資料倉儲中的天數。 | |
Description | 取得或設定收集組的描述。 | |
Id | 取得收集組的本機識別碼。 | |
IdentityKey | 取得收集組的識別索引鍵。 | |
IsRunning | 取得 Boolean 屬性值,指出收集組是否正在執行。 | |
IsSystem | 取得 Boolean 屬性值,指出收集組是否為系統收集組。 | |
LoggingLevel | 取得或設定收集組的記錄層次。 | |
Metadata | (繼承自 SfcInstance。) | |
Name | 取得或設定收集組的名稱。 | |
Parent | 取得或設定此收集組所屬的父存放區。 | |
Properties | (繼承自 SfcInstance。) | |
PropertyStorageProvider | (繼承自 SfcInstance。) | |
ProxyName | 取得或設定用來執行收集組的 SQL Server Agent Proxy 帳戶名稱。 | |
ScheduleName | 取得或設定與收集組相關聯的 SQL Server Agent 排程名稱。 | |
State | 取得收集組的狀態。 | |
TargetName | 取得或設定收集組將從中收集資料的目標名稱。 | |
UId | 取得或設定收集組的全域唯一識別碼。 | |
Urn | (繼承自 SfcInstance。) |
上層
方法
上層
事件
名稱 | 說明 | |
---|---|---|
propertyChanged | (繼承自 SfcInstance。) | |
PropertyChanged | (繼承自 SfcInstance。) | |
propertyMetadataChanged | (繼承自 SfcInstance。) | |
PropertyMetadataChanged | (繼承自 SfcInstance。) |
上層
明確 繼承 實作
名稱 | 說明 | |
---|---|---|
ISfcDiscoverObject. . :: . .Discover | 允許物件透過傳遞接收來表示相依性探索要求的關聯性。不要直接在程式碼中參考此成員。其支援 SQL Server 基礎結構。 | |
ISfcRenamable. . :: . .Rename | 將這個物件重新命名為指定的索引鍵,並更新儲存體。不要直接在程式碼中參考此成員。其支援 SQL Server 基礎結構。 | |
ISfcCreatable. . :: . .ScriptCreate | 產生指令碼,以便建立這個物件,並以其目前的狀態儲存物件。不要直接在程式碼中參考此成員。其支援 SQL Server 基礎結構。 | |
ISfcDroppable. . :: . .ScriptDrop | 產生指令碼,以便從儲存體卸除此物件。不要直接在程式碼中參考此成員。其支援 SQL Server 基礎結構。 | |
ISfcRenamable. . :: . .ScriptRename | 產生指令碼,以便將這個物件重新命名為指定的索引鍵。不要直接在程式碼中參考此成員。其支援 SQL Server 基礎結構。 |
上層
備註
This class is used for collection sets.
This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.
執行緒安全性
這個型別的任何公用 static (在 Visual Basic 中為 Shared) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。