CollectionSet.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 の種類を列挙し、コレクション セットのコレクション モード設定を含むオブジェクトを返します。

説明

コレクション モードは、次のいずれかになります。

  • 連続

  • アドホック

  • スナップショット

この名前空間、クラス、またはメンバーは、Microsoft .NET Framework 2.0 でのみサポートされています。

関連項目

参照

CollectionSet クラス

Microsoft.SqlServer.Management.Collector 名前空間