共用方式為


LocalServiceSecuritySettings.DetectReplays 屬性

定義

取得或設定值,這個值指出服務上是否啟用重新執行偵測。

public:
 property bool DetectReplays { bool get(); void set(bool value); };
public bool DetectReplays { get; set; }
member this.DetectReplays : bool with get, set
Public Property DetectReplays As Boolean

屬性值

如果服務上已啟用重新執行偵測,則為 true,否則為 false。 預設為 true

範例

這個範例將示範如何取得這個屬性的值。

LocalServiceSecuritySettings settings =
    new LocalServiceSecuritySettings();

bool detectReplays = settings.DetectReplays;
Dim settings As New LocalServiceSecuritySettings()

Dim detectReplays = settings.DetectReplays

適用於