Share via


Policy.ScheduleUid Property

Gets or sets the Guid that identifies the SQL Server Agent schedule that checks on the policy.

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

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.None)> _
Public Property ScheduleUid As Guid
    Get
    Set
'Usage
Dim instance As Policy
Dim value As Guid

value = instance.ScheduleUid

instance.ScheduleUid = value
[SfcPropertyAttribute(SfcPropertyFlags.None)]
public Guid ScheduleUid { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::None)]
public:
property Guid ScheduleUid {
    Guid get ();
    void set (Guid value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.None)>]
member ScheduleUid : Guid with get, set
function get ScheduleUid () : Guid
function set ScheduleUid (value : Guid)

Property Value

Type: System.Guid
A Guid object value that identifies the SQL Server Agent schedule that is associated with the policy.