sys.sp_syscollector_start_collection_set

general
#stored-procedure

Description

Starts a collection set if the collector is already enabled and the collection set isn’t running. If the collector isn’t enabled, enable the collector by running sp_syscollector_enable_collector then use this stored procedure to start a collection set. The unique local identifier for the collection set. @collection_set_id , with a default of @collection_set_id must have a value if The name of the collection set. , with a default of @collection_set_id

Syntax

sp_syscollector_start_collection_set
[ [ @collection_set_id = ] collection_set_id ]
[ , [ @name = ]
N
'name'
]
[ ; ]

Remarks

Starts a collection set if the collector is already enabled and the collection set isn’t running. If

the collector isn’t enabled, enable the collector by running

sp_syscollector_enable_collector

then use this stored procedure to start a collection set.

The unique local identifier for the collection set.

@collection_set_id

, with a default of

@collection_set_id

must have a value if

The name of the collection set.

, with a default of

must have a

@collection_set_id

(success) or