共用方式為


ScheduleUid 屬性

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

命名空間:  Microsoft.SqlServer.Management.Dmf
組件:  Microsoft.SqlServer.Dmf (在 Microsoft.SqlServer.Dmf.dll 中)

語法

'宣告
<SfcPropertyAttribute(SfcPropertyFlags.None)> _
Public Property ScheduleUid As Guid
    Get
    Set
'用途
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)

屬性值

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

備註

只有 Microsoft .NET Framework 2.0 版支援此命名空間、類別或成員。

範例

設定屬性