다음을 통해 공유


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.