CollectorConfigStore 类

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

继承层次结构

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

命名空间:  Microsoft.SqlServer.Management.Collector
程序集:  Microsoft.SqlServer.Management.Collector(在 Microsoft.SqlServer.Management.Collector.dll 中)

语法

声明
Public NotInheritable Class CollectorConfigStore _
    Inherits SfcInstance _
    Implements ISfcAlterable, IAlterable, ISfcDomain, ISfcDomainLite,  _
    ISfcHasConnection
用法
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

CollectorConfigStore 类型公开以下成员。

构造函数

  名称 说明
公共方法 CollectorConfigStore() Initializes a CollectorConfigStore object.
公共方法 CollectorConfigStore(SqlStoreConnection) Initializes a CollectorConfigStore object.

页首

属性

  名称 说明
受保护属性 AbstractIdentityKey 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 (从 SfcInstance 继承。)
公共属性 CacheDirectory Gets or sets the path and folder name for the cache directory.
公共属性 CacheWindow Gets or sets the number of upload tries for data that is collected.
公共属性 CollectionSets Gets the collection sets that are in the configuration store.
公共属性 Enabled Gets the Boolean property value that indicates whether or not the data collector is enabled.
公共属性 IdentityKey Gets the identity key for the configuration store.
公共属性 MDWDatabase Gets or sets the name of the database that holds the collected data.
公共属性 MDWInstance Gets or sets the instance where the management data warehouse resides.
公共属性 Metadata Returns metadata about the instance and its domain. (从 SfcInstance 继承。)
公共属性 Parent Gets or sets the instance parent via the keychain. (从 SfcInstance 继承。)
公共属性 Properties Returns a collection instance properties. (从 SfcInstance 继承。)
受保护属性 State Returns the state of the SfcInstance object. (从 SfcInstance 继承。)
公共属性 Urn Returns the uniform resource name of the SfcInstance object. (从 SfcInstance 继承。)

页首

方法

  名称 说明
公共方法 Alter Changes the configuration settings of the configuration store.
受保护方法 CreateIdentityKey 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 (从 SfcInstance 继承。)
公共方法 DisableCollector Disables the data collector.
公共方法 Discover 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 (从 SfcInstance 继承。)
公共方法 EnableCollector Enables the data collector.
公共方法 EnumTypes Enumerates the names of the collector types in the configuration store.
公共方法 Equals (从 Object 继承。)
受保护方法 GetChildCollection 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 (从 SfcInstance 继承。)
公共方法 GetDomain 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 (从 SfcInstance 继承。)
公共方法 GetHashCode (从 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 继承。)
受保护方法 ResetKey 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 (从 SfcInstance 继承。)
公共方法 Serialize Serializes the instance to XML. (从 SfcInstance 继承。)
公共方法 ToString Returns a string representation of the instance Urn. (从 SfcInstance 继承。)

页首

事件

  名称 说明
公共事件 PropertyChanged CLS-compliant event for property changes. (从 SfcInstance 继承。)
公共事件 PropertyMetadataChanged CLS-compliant event for property metadata changes. (从 SfcInstance 继承。)

页首

显式接口实现

  名称 说明
显式接口实现私有方法 ISfcAlterable.ScriptAlter This method is for internal use only.
显式接口实现私有方法 ISfcDomain.GetExecutionEngine This method is for internal use only.
显式接口实现私有方法 ISfcDomain.GetKey This method is for internal use only.
显式接口实现私有方法 ISfcDomain.GetType This method is for internal use only.
显式接口实现私有方法 ISfcDomain.GetTypeMetadata This method is for internal use only.
显式接口实现私有方法 ISfcDomain.UseSfcStateManagement This property is for internal use only.
显式接口实现私有属性 ISfcDomainLite.DomainInstanceName This property is for internal use only.
显式接口实现私有属性 ISfcDomainLite.DomainName This property is for internal use only.
显式接口实现私有方法 ISfcDomainLite.GetLogicalVersion This property is for internal use only.
显式接口实现私有属性 ISfcHasConnection.ConnectionContext This property is for internal use only.
显式接口实现私有方法 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.
显式接口实现私有方法 ISfcHasConnection.GetConnection(SfcObjectQueryMode) Gets the server connection to the backing storage that supports the specified query processing mode.
显式接口实现私有方法 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.

页首

注释

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 命名空间