Partager via


Propriété Policy.ScheduleUid

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

Espace de noms :  Microsoft.SqlServer.Management.Dmf
Assembly :  Microsoft.SqlServer.Dmf (en Microsoft.SqlServer.Dmf.dll)

Syntaxe

'Déclaration
<SfcPropertyAttribute(SfcPropertyFlags.None)> _
Public Property ScheduleUid As Guid 
    Get 
    Set
'Utilisation
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)

Valeur de propriété

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

Exemples

Définition de propriétés

Voir aussi

Référence

Policy Classe

Espace de noms Microsoft.SqlServer.Management.Dmf