CollectionSet 클래스

The CollectionSet class is derived from SFC::SfcInstanceBase and implements SFC::ICreatable, SFC::IDropable, and 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() Instantiates a collection set object.
공용 메서드 CollectionSet(CollectorConfigStore, String) Initialize an instance of a CollectionSet given a CollectorConfigStore object as a parent and a collection set name.

맨 위로 이동

속성

  이름 설명
보호된 속성 AbstractIdentityKey 코드에서 직접 이 멤버를 참조하면 안 됩니다. 이 방법은 SQL Server 인프라를 지원합니다. (SfcInstance에서 상속됨)
공용 속성 CollectionItems Gets the collection items in a collection set.
공용 속성 CollectionMode Gets or sets the collection mode for the collection set.
공용 속성 DaysUntilExpiration Gets or sets the number of days that the collected data is saved in the management data warehouse.
공용 속성 Description Gets or sets the description of the collection set.
공용 속성 Id Gets the local ID for the collection set.
공용 속성 IdentityKey Gets the identity key for the collection set.
공용 속성 IsRunning Gets the Boolean property value that indicates whether or not the collection set is running.
공용 속성 IsSystem Gets the Boolean property value that indicates whether or the collection set is a system collection set.
공용 속성 LoggingLevel Gets or sets the logging level for the collection set.
공용 속성 Metadata Returns metadata about the instance and its domain. (SfcInstance에서 상속됨)
공용 속성 Name Gets or sets the name of the collection set.
공용 속성 Parent Gets or sets the parent store that this collection set belongs to.
공용 속성 Properties Returns a collection instance properties. (SfcInstance에서 상속됨)
공용 속성 ProxyName Gets or sets the name of the SQL Server Agent proxy account under which the collection set executes.
공용 속성 ScheduleName Gets or sets the name of the SQL Server Agent schedule that is associated to the collection set.
공용 속성 State Gets the state of the collection set.
공용 속성 TargetName Gets or sets the name of the target that the collection set will collect data from.
공용 속성 UId Gets or sets the globally unique ID for the collection set.
공용 속성 Urn Returns the uniform resource name of the SfcInstance object. (SfcInstance에서 상속됨)

맨 위로 이동

메서드

  이름 설명
공용 메서드 Alter Alter collection set information in the configuration store.
공용 메서드 Create Creates a collection set.
보호된 메서드 CreateIdentityKey 코드에서 직접 이 멤버를 참조하면 안 됩니다. 이 방법은 SQL Server 인프라를 지원합니다. (SfcInstance에서 상속됨)
공용 메서드 Discover 코드에서 직접 이 멤버를 참조하면 안 됩니다. 이 방법은 SQL Server 인프라를 지원합니다. (SfcInstance에서 상속됨)
공용 메서드 Drop Drops a collection set.
공용 메서드 EnumCollectionSetExecutionHistory() An enumerator that gets the history records for specific collection set.
공용 메서드 EnumCollectionSetExecutionHistory(Int64) This method is for internal use only.
공용 메서드 EnumCollectionSetExecutionHistoryDetail This method is for internal use only.
공용 메서드 Equals (Object에서 상속됨)
보호된 메서드 GetChildCollection 코드에서 직접 이 멤버를 참조하면 안 됩니다. 이 방법은 SQL Server 인프라를 지원합니다. (SfcInstance에서 상속됨)
공용 메서드 GetDomain 코드에서 직접 이 멤버를 참조하면 안 됩니다. 이 방법은 SQL Server 인프라를 지원합니다. (SfcInstance에서 상속됨)
공용 메서드 GetHashCode (Object에서 상속됨)
공용 메서드 GetLastUploadTime Gets the last time that collection set data was uploaded.
공용 메서드정적 멤버 GetObjectFactory Gets the object factory constructor for the [CollectorConfigStore] object.
공용 메서드 GetPropertySet Returns the set of properties for the SfcInstance object. (SfcInstance에서 상속됨)
공용 메서드 GetType (Object에서 상속됨)
보호된 메서드 GetTypeMetadataImpl Indicates the domains that override by returning the right TypeMetadata class directly. 코드에서 직접 이 멤버를 참조하면 안 됩니다. 이 방법은 SQL Server 인프라를 지원합니다. (SfcInstance에서 상속됨)
보호된 메서드 InitializeUIPropertyState 코드에서 직접 이 멤버를 참조하면 안 됩니다. 이 방법은 SQL Server 인프라를 지원합니다. (SfcInstance에서 상속됨)
보호된 메서드 OnPropertyMetadataChanges Invoked whenever the effective value of any SfcInstance metadata is updated. (SfcInstance에서 상속됨)
보호된 메서드 OnPropertyValueChanges Invoked whenever the effective value of any SfcInstance property is updated. (SfcInstance에서 상속됨)
공용 메서드 Refresh Refreshes the object's properties by reading them from the server. (SfcInstance에서 상속됨)
공용 메서드 Rename Renames a collection set.
보호된 메서드 ResetKey 코드에서 직접 이 멤버를 참조하면 안 됩니다. 이 방법은 SQL Server 인프라를 지원합니다. (SfcInstance에서 상속됨)
공용 메서드 RunOnce Specifies the collection set is to be run once.
공용 메서드 ScriptAlter This method is for internal use only.
공용 메서드 Serialize Serializes the instance to XML. (SfcInstance에서 상속됨)
공용 메서드 Start Starts a collection set.
공용 메서드 Stop Stops a collection set.
공용 메서드 ToString Returns a string representation of the instance Urn. (SfcInstance에서 상속됨)
공용 메서드 Upload Uploads a collection set on demand.

맨 위로 이동

이벤트

  이름 설명
공용 이벤트 PropertyChanged CLS-compliant event for property changes. (SfcInstance에서 상속됨)
공용 이벤트 PropertyMetadataChanged CLS-compliant event for property metadata changes. (SfcInstance에서 상속됨)

맨 위로 이동

명시적 인터페이스 구현

  이름 설명
명시적 인터페이스 구현전용 메서드 ISfcCreatable.ScriptCreate Produces the script to create this object to storage in its current state. Do not reference this member directly in your code. It supports the SQL Server infrastructure.
명시적 인터페이스 구현전용 메서드 ISfcDiscoverObject.Discover Allows the object to indicate relationships for dependency discovery requests via the passed sink. Do not reference this member directly in your code. It supports the SQL Server infrastructure.
명시적 인터페이스 구현전용 메서드 ISfcDroppable.ScriptDrop Produces the script to drop this object from storage. Do not reference this member directly in your code. It supports the SQL Server infrastructure.
명시적 인터페이스 구현전용 메서드 ISfcRenamable.Rename Renames this object to the specified key and updates the storage. Do not reference this member directly in your code. It supports the SQL Server infrastructure.
명시적 인터페이스 구현전용 메서드 ISfcRenamable.ScriptRename Produces the script to rename this object to the specified key. Do not reference this member directly in your code. It supports the SQL Server infrastructure.

맨 위로 이동

주의

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) 멤버는 스레드로부터 안전합니다. 인스턴스 멤버는 스레드로부터의 안전성이 보장되지 않습니다.

참고 항목

참조

Microsoft.SqlServer.Management.Collector 네임스페이스