Share via


CollectionSet.ScheduleName Property

Gets or sets the name of the SQL Server Agent schedule that is associated to the collection set.

Namespace:  Microsoft.SqlServer.Management.Collector
Assembly:  Microsoft.SqlServer.Management.Collector (in Microsoft.SqlServer.Management.Collector.dll)

Syntax

'Declaration
<SfcPropertyAttribute(Required := False)> _
Public Property ScheduleName As String
    Get
    Set
'Usage
Dim instance As CollectionSet
Dim value As String

value = instance.ScheduleName

instance.ScheduleName = value
[SfcPropertyAttribute(Required = false)]
public string ScheduleName { get; set; }
[SfcPropertyAttribute(Required = false)]
public:
property String^ ScheduleName {
    String^ get ();
    void set (String^ value);
}
[<SfcPropertyAttribute(Required = false)>]
member ScheduleName : string with get, set
function get ScheduleName () : String
function set ScheduleName (value : String)

Property Value

Type: System.String
A String value that is the name of the schedule.

Remarks

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