Share via


CollectorConfigStore Class

The CollectorConfigStore class implements the configuration store for the data collector.

Inheritance Hierarchy

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

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

Syntax

'Declaration
Public NotInheritable Class CollectorConfigStore _
    Inherits SfcInstance _
    Implements ISfcAlterable, IAlterable, ISfcDomain, ISfcDomainLite,  _
    ISfcHasConnection
'Usage
Dim instance As CollectorConfigStore
public sealed class CollectorConfigStore : SfcInstance, 
    ISfcAlterable, IAlterable, ISfcDomain, ISfcDomainLite, ISfcHasConnection
public ref class CollectorConfigStore sealed : public SfcInstance, 
    ISfcAlterable, IAlterable, ISfcDomain, ISfcDomainLite, ISfcHasConnection
[<SealedAttribute>]
type CollectorConfigStore =  
    class 
        inherit SfcInstance 
        interface ISfcAlterable 
        interface IAlterable 
        interface ISfcDomain 
        interface ISfcDomainLite 
        interface ISfcHasConnection 
    end
public final class CollectorConfigStore extends SfcInstance implements ISfcAlterable, IAlterable, ISfcDomain, ISfcDomainLite, ISfcHasConnection

The CollectorConfigStore type exposes the following members.

Constructors

  Name Description
Public method CollectorConfigStore() Initializes a CollectorConfigStore object.
Public method CollectorConfigStore(SqlStoreConnection) Initializes a CollectorConfigStore object.

Top

Properties

  Name Description
Protected property AbstractIdentityKey Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcInstance.)
Public property CacheDirectory Gets or sets the path and folder name for the cache directory.
Public property CacheWindow Gets or sets the number of upload tries for data that is collected.
Public property CollectionSets Gets the collection sets that are in the configuration store.
Public property Enabled Gets the Boolean property value that indicates whether or not the data collector is enabled.
Public property IdentityKey Gets the identity key for the configuration store.
Public property MDWDatabase Gets or sets the name of the database that holds the collected data.
Public property MDWInstance Gets or sets the instance where the management data warehouse resides.
Public property Metadata Returns metadata about the instance and its domain. (Inherited from SfcInstance.)
Public property Parent Gets or sets the instance parent via the keychain. (Inherited from SfcInstance.)
Public property Properties Returns a collection instance properties. (Inherited from SfcInstance.)
Protected property State Returns the state of the SfcInstance object. (Inherited from SfcInstance.)
Public property Urn Returns the uniform resource name of the SfcInstance object. (Inherited from SfcInstance.)

Top

Methods

  Name Description
Public method Alter Changes the configuration settings of the configuration store.
Protected method CreateIdentityKey Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcInstance.)
Public method DisableCollector Disables the data collector.
Public method Discover Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcInstance.)
Public method EnableCollector Enables the data collector.
Public method EnumTypes Enumerates the names of the collector types in the configuration store.
Public method Equals (Inherited from Object.)
Protected method GetChildCollection Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcInstance.)
Public method GetDomain Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcInstance.)
Public method GetHashCode (Inherited from Object.)
Public method GetPropertySet Returns the set of properties for the SfcInstance object. (Inherited from SfcInstance.)
Public method GetType (Inherited from Object.)
Protected method GetTypeMetadataImpl 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.)
Protected method InitializeUIPropertyState Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcInstance.)
Protected method OnPropertyMetadataChanges Invoked whenever the effective value of any SfcInstance metadata is updated. (Inherited from SfcInstance.)
Protected method OnPropertyValueChanges Invoked whenever the effective value of any SfcInstance property is updated. (Inherited from SfcInstance.)
Public method Refresh Refreshes the object's properties by reading them from the server. (Inherited from SfcInstance.)
Protected method ResetKey Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcInstance.)
Public method Serialize Serializes the instance to XML. (Inherited from SfcInstance.)
Public method ToString Returns a string representation of the instance Urn. (Inherited from SfcInstance.)

Top

Events

  Name Description
Public event PropertyChanged CLS-compliant event for property changes. (Inherited from SfcInstance.)
Public event PropertyMetadataChanged CLS-compliant event for property metadata changes. (Inherited from SfcInstance.)

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method ISfcAlterable.ScriptAlter This method is for internal use only.
Explicit interface implemetationPrivate method ISfcDomain.GetExecutionEngine This method is for internal use only.
Explicit interface implemetationPrivate method ISfcDomain.GetKey This method is for internal use only.
Explicit interface implemetationPrivate method ISfcDomain.GetType This method is for internal use only.
Explicit interface implemetationPrivate method ISfcDomain.GetTypeMetadata This method is for internal use only.
Explicit interface implemetationPrivate method ISfcDomain.UseSfcStateManagement This property is for internal use only.
Explicit interface implemetationPrivate property ISfcDomainLite.DomainInstanceName This property is for internal use only.
Explicit interface implemetationPrivate property ISfcDomainLite.DomainName This property is for internal use only.
Explicit interface implemetationPrivate method ISfcDomainLite.GetLogicalVersion This property is for internal use only.
Explicit interface implemetationPrivate property ISfcHasConnection.ConnectionContext This property is for internal use only.
Explicit interface implemetationPrivate method ISfcHasConnection.GetConnection() Gets the server connection to the backing storage. Do not reference this member directly in your code. It supports the SQL Server infrastructure.
Explicit interface implemetationPrivate method ISfcHasConnection.GetConnection(SfcObjectQueryMode) Gets the server connection to the backing storage that supports the specified query processing mode.
Explicit interface implemetationPrivate method ISfcHasConnection.SetConnection Sets the active connection for the domain root. Do not reference this member directly in your code. It supports the SQL Server infrastructure.

Top

Remarks

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

Thread Safety

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

See Also

Reference

Microsoft.SqlServer.Management.Collector Namespace