CollectionMode 属性

获取或设置收集组的收集模式。

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

语法

声明
<SfcPropertyAttribute> _
Public Property CollectionMode As CollectionSet..::..CollectionModes
    Get
    Set
用法
Dim instance As CollectionSet
Dim value As CollectionSet..::..CollectionModes

value = instance.CollectionMode

instance.CollectionMode = value
[SfcPropertyAttribute]
public CollectionSet..::..CollectionModes CollectionMode { get; set; }
[SfcPropertyAttribute]
public:
property CollectionSet..::..CollectionModes CollectionMode {
    CollectionSet..::..CollectionModes get ();
    void set (CollectionSet..::..CollectionModes value);
}
[<SfcPropertyAttribute>]
member CollectionMode : CollectionSet..::..CollectionModes with get, set
function get CollectionMode () : CollectionSet..::..CollectionModes
function set CollectionMode (value : CollectionSet..::..CollectionModes)

属性值

类型:Microsoft.SqlServer.Management.Collector. . :: . .CollectionSet. . :: . .CollectionModes
枚举 CollectionModes 类型,并返回一个包含收集组的收集模式设置的对象。

注释

The collection mode is one of the following:

  • Continuous

  • AdHoc

  • Snapshot

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