TechNet
Export (0) Print
Expand All

CollectionSet Class

 

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

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

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

public sealed class CollectionSet : SfcInstance, ISfcCreatable, 
	ICreatable, ISfcDroppable, IDroppable, ISfcAlterable, IAlterable, 
	ISfcRenamable, ISfcDiscoverObject

NameDescription
System_CAPS_pubmethodCollectionSet()

Instantiates a collection set object.

System_CAPS_pubmethodCollectionSet(CollectorConfigStore, String)

Initialize an instance of a T:CollectionSet given a T:CollectorConfigStore object as a parent and a collection set name.

NameDescription
System_CAPS_protpropertyAbstractIdentityKey

Do not reference this member directly in your code. It supports the SQL Server infrastructure.(Inherited from SfcInstance.)

System_CAPS_pubpropertyCollectionItems

Gets the collection items in a collection set.

System_CAPS_pubpropertyCollectionMode

Gets or sets the collection mode for the collection set.

System_CAPS_pubpropertyDaysUntilExpiration

Gets or sets the number of days that the collected data is saved in the management data warehouse.

System_CAPS_pubpropertyDescription

Gets or sets the description of the collection set.

System_CAPS_pubpropertyId

Gets the local ID for the collection set.

System_CAPS_pubpropertyIdentityKey

Gets the identity key for the collection set.

System_CAPS_pubpropertyIsRunning

Gets the Boolean property value that indicates whether or not the collection set is running.

System_CAPS_pubpropertyIsSystem

Gets the Boolean property value that indicates whether or the collection set is a system collection set.

System_CAPS_pubpropertyIsTransactionPerformance

Gets a value that indicates whether the set is one of defined Transaction Performance collection sets.

System_CAPS_pubpropertyLoggingLevel

Gets or sets the logging level for the collection set.

System_CAPS_pubpropertyMetadata

Returns metadata about the instance and its domain.(Inherited from SfcInstance.)

System_CAPS_pubpropertyName

Gets or sets the name of the collection set.

System_CAPS_pubpropertyParent

Gets or sets the parent store that this collection set belongs to.

System_CAPS_pubpropertyProperties

Returns a collection instance properties.(Inherited from SfcInstance.)

System_CAPS_pubpropertyProxyName

Gets or sets the name of the SQL Server Agent proxy account under which the collection set executes.

System_CAPS_pubpropertyScheduleName

Gets or sets the name of the SQL Server Agent schedule that is associated to the collection set.

System_CAPS_pubpropertyState

Gets the state of the collection set.

System_CAPS_pubpropertyTargetName

Gets or sets the name of the target that the collection set will collect data from.

System_CAPS_pubpropertyUId

Gets or sets the globally unique ID for the collection set.

System_CAPS_pubpropertyUrn

Returns the uniform resource name of the SfcInstance object.(Inherited from SfcInstance.)

NameDescription
System_CAPS_pubmethodAlter()

Alter collection set information in the configuration store.

System_CAPS_pubmethodCleanup()

Cleans up all activities done while configuring this collection set.

System_CAPS_pubmethodCreate()

Creates a collection set.

System_CAPS_protmethodCreateIdentityKey()

Do not reference this member directly in your code. It supports the SQL Server infrastructure.(Inherited from SfcInstance.)

System_CAPS_pubmethodDiscover(ISfcDependencyDiscoveryObjectSink)

Do not reference this member directly in your code. It supports the SQL Server infrastructure.(Inherited from SfcInstance.)

System_CAPS_pubmethodDrop()

Drops a collection set.

System_CAPS_pubmethodEnumCollectionSetExecutionHistory()

An enumerator that gets the history records for specific collection set.

System_CAPS_pubmethodEnumCollectionSetExecutionHistory(Int64)

This method is for internal use only.

System_CAPS_pubmethodEnumCollectionSetExecutionHistoryDetail(Int64)

This method is for internal use only.

System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodGetChildCollection(String)

Do not reference this member directly in your code. It supports the SQL Server infrastructure.(Inherited from SfcInstance.)

System_CAPS_pubmethodGetDomain()

Do not reference this member directly in your code. It supports the SQL Server infrastructure.(Inherited from SfcInstance.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetLastUploadTime()

Gets the last time that collection set data was uploaded.

System_CAPS_pubmethodSystem_CAPS_staticGetObjectFactory()

Gets the object factory constructor for the CollectorConfigStore object.

System_CAPS_pubmethodGetPropertySet()

Returns the set of properties for the SfcInstance object.(Inherited from SfcInstance.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodGetTypeMetadataImpl()

Indicates the domains that override by returning the right TypeMetadata class directly. Do not reference this member directly in your code. It supports the SQL Server infrastructure.(Inherited from SfcInstance.)

System_CAPS_protmethodInitializeUIPropertyState()

Do not reference this member directly in your code. It supports the SQL Server infrastructure.(Inherited from SfcInstance.)

System_CAPS_protmethodOnPropertyMetadataChanges(SfcPropertyMetadataChangedEventArgs)

Invoked whenever the effective value of any SfcInstance metadata is updated. (Inherited from SfcInstance.)

System_CAPS_protmethodOnPropertyValueChanges(PropertyChangedEventArgs)

Invoked whenever the effective value of any SfcInstance property is updated. (Inherited from SfcInstance.)

System_CAPS_pubmethodRefresh()

Refreshes the object's properties by reading them from the server.(Inherited from SfcInstance.)

System_CAPS_pubmethodRename(String)

Renames a collection set.

System_CAPS_protmethodResetKey()

Do not reference this member directly in your code. It supports the SQL Server infrastructure.(Inherited from SfcInstance.)

System_CAPS_pubmethodRunOnce()

Specifies the collection set is to be run once.

System_CAPS_pubmethodScriptAlter()

This method is for internal use only.

System_CAPS_pubmethodSerialize(XmlWriter)

Serializes the instance to XML.(Inherited from SfcInstance.)

System_CAPS_pubmethodStart()

Starts a collection set.

System_CAPS_pubmethodStop()

Stops a collection set.

System_CAPS_pubmethodToString()

Returns a string representation of the instance Urn.(Inherited from SfcInstance.)

System_CAPS_pubmethodUpload()

Uploads a collection set on demand.

NameDescription
System_CAPS_pubeventPropertyChanged

(Inherited from SfcInstance.)

System_CAPS_pubeventPropertyMetadataChanged

(Inherited from SfcInstance.)

NameDescription
System_CAPS_pubinterfaceSystem_CAPS_privmethodISfcCreatable.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.

System_CAPS_pubinterfaceSystem_CAPS_privmethodISfcDiscoverObject.Discover(ISfcDependencyDiscoveryObjectSink)

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.

System_CAPS_pubinterfaceSystem_CAPS_privmethodISfcDroppable.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.

System_CAPS_pubinterfaceSystem_CAPS_privmethodISfcRenamable.Rename(SfcKey)

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.

System_CAPS_pubinterfaceSystem_CAPS_privmethodISfcRenamable.ScriptRename(SfcKey)

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.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show:
© 2016 Microsoft