Freigeben über


CollectionSet-Klasse

The CollectionSet class is derived from SFC::SfcInstanceBase and implements SFC::ICreatable, SFC::IDropable, and SFC::IAlterable.

Vererbungshierarchie

System.Object
  Microsoft.SqlServer.Management.Sdk.Sfc.SfcInstance
    Microsoft.SqlServer.Management.Collector.CollectionSet

Namespace:  Microsoft.SqlServer.Management.Collector
Assembly:  Microsoft.SqlServer.Management.Collector (in Microsoft.SqlServer.Management.Collector.dll)

Syntax

'Declaration
Public NotInheritable Class CollectionSet _
    Inherits SfcInstance _
    Implements ISfcCreatable, ICreatable, ISfcDroppable, IDroppable,  _
    ISfcAlterable, IAlterable, ISfcRenamable, ISfcDiscoverObject
'Usage
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

Der CollectionSet-Typ macht folgende Elemente verfügbar.

Konstruktoren

  Name Beschreibung
Öffentliche Methode CollectionSet() Instantiates a collection set object.
Öffentliche Methode CollectionSet(CollectorConfigStore, String) Initialize an instance of a CollectionSet given a CollectorConfigStore object as a parent and a collection set name.

Zum Anfang

Eigenschaften

  Name Beschreibung
Geschützte Eigenschaft AbstractIdentityKey Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. (Geerbt von SfcInstance.)
Öffentliche Eigenschaft CollectionItems Gets the collection items in a collection set.
Öffentliche Eigenschaft CollectionMode Gets or sets the collection mode for the collection set.
Öffentliche Eigenschaft DaysUntilExpiration Gets or sets the number of days that the collected data is saved in the management data warehouse.
Öffentliche Eigenschaft Description Gets or sets the description of the collection set.
Öffentliche Eigenschaft Id Gets the local ID for the collection set.
Öffentliche Eigenschaft IdentityKey Gets the identity key for the collection set.
Öffentliche Eigenschaft IsRunning Gets the Boolean property value that indicates whether or not the collection set is running.
Öffentliche Eigenschaft IsSystem Gets the Boolean property value that indicates whether or the collection set is a system collection set.
Öffentliche Eigenschaft LoggingLevel Gets or sets the logging level for the collection set.
Öffentliche Eigenschaft Metadata Returns metadata about the instance and its domain. (Geerbt von SfcInstance.)
Öffentliche Eigenschaft Name Gets or sets the name of the collection set.
Öffentliche Eigenschaft Parent Gets or sets the parent store that this collection set belongs to.
Öffentliche Eigenschaft Properties Returns a collection instance properties. (Geerbt von SfcInstance.)
Öffentliche Eigenschaft ProxyName Gets or sets the name of the SQL Server Agent proxy account under which the collection set executes.
Öffentliche Eigenschaft ScheduleName Gets or sets the name of the SQL Server Agent schedule that is associated to the collection set.
Öffentliche Eigenschaft State Gets the state of the collection set.
Öffentliche Eigenschaft TargetName Gets or sets the name of the target that the collection set will collect data from.
Öffentliche Eigenschaft UId Gets or sets the globally unique ID for the collection set.
Öffentliche Eigenschaft Urn Returns the uniform resource name of the SfcInstance object. (Geerbt von SfcInstance.)

Zum Anfang

Methoden

  Name Beschreibung
Öffentliche Methode Alter Alter collection set information in the configuration store.
Öffentliche Methode Create Creates a collection set.
Geschützte Methode CreateIdentityKey Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. (Geerbt von SfcInstance.)
Öffentliche Methode Discover Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. (Geerbt von SfcInstance.)
Öffentliche Methode Drop Drops a collection set.
Öffentliche Methode EnumCollectionSetExecutionHistory() An enumerator that gets the history records for specific collection set.
Öffentliche Methode EnumCollectionSetExecutionHistory(Int64) This method is for internal use only.
Öffentliche Methode EnumCollectionSetExecutionHistoryDetail This method is for internal use only.
Öffentliche Methode Equals (Geerbt von Object.)
Geschützte Methode GetChildCollection Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. (Geerbt von SfcInstance.)
Öffentliche Methode GetDomain Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. (Geerbt von SfcInstance.)
Öffentliche Methode GetHashCode (Geerbt von Object.)
Öffentliche Methode GetLastUploadTime Gets the last time that collection set data was uploaded.
Öffentliche MethodeStatisches Element GetObjectFactory Gets the object factory constructor for the [CollectorConfigStore] object.
Öffentliche Methode GetPropertySet Returns the set of properties for the SfcInstance object. (Geerbt von SfcInstance.)
Öffentliche Methode GetType (Geerbt von Object.)
Geschützte Methode GetTypeMetadataImpl Indicates the domains that override by returning the right TypeMetadata class directly. Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. (Geerbt von SfcInstance.)
Geschützte Methode InitializeUIPropertyState Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. (Geerbt von SfcInstance.)
Geschützte Methode OnPropertyMetadataChanges Invoked whenever the effective value of any SfcInstance metadata is updated. (Geerbt von SfcInstance.)
Geschützte Methode OnPropertyValueChanges Invoked whenever the effective value of any SfcInstance property is updated. (Geerbt von SfcInstance.)
Öffentliche Methode Refresh Refreshes the object's properties by reading them from the server. (Geerbt von SfcInstance.)
Öffentliche Methode Rename Renames a collection set.
Geschützte Methode ResetKey Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. (Geerbt von SfcInstance.)
Öffentliche Methode RunOnce Specifies the collection set is to be run once.
Öffentliche Methode ScriptAlter This method is for internal use only.
Öffentliche Methode Serialize Serializes the instance to XML. (Geerbt von SfcInstance.)
Öffentliche Methode Start Starts a collection set.
Öffentliche Methode Stop Stops a collection set.
Öffentliche Methode ToString Returns a string representation of the instance Urn. (Geerbt von SfcInstance.)
Öffentliche Methode Upload Uploads a collection set on demand.

Zum Anfang

Ereignisse

  Name Beschreibung
Öffentliches Ereignis PropertyChanged CLS-compliant event for property changes. (Geerbt von SfcInstance.)
Öffentliches Ereignis PropertyMetadataChanged CLS-compliant event for property metadata changes. (Geerbt von SfcInstance.)

Zum Anfang

Explizite Schnittstellenimplementierungen

  Name Beschreibung
Explizite SchnittstellenimplementierungPrivate Methode 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.
Explizite SchnittstellenimplementierungPrivate Methode 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.
Explizite SchnittstellenimplementierungPrivate Methode 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.
Explizite SchnittstellenimplementierungPrivate Methode 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.
Explizite SchnittstellenimplementierungPrivate Methode 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.

Zum Anfang

Hinweise

This class is used for collection sets.

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

Threadsicherheit

Alle öffentlichen static (Shared in Visual Basic)-Elemente dieses Typs sind Threadsicher. Für Instanzelemente wird die Threadsicherheit nicht gewährleistet.

Siehe auch

Verweis

Microsoft.SqlServer.Management.Collector-Namespace