DirectorySearcher.Tombstone Özellik
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
Aramanın, arama filtresiyle eşleşen silinmiş nesneleri de döndürmesi gerekip gerekmediğini belirten bir değer alır veya ayarlar.
public:
property bool Tombstone { bool get(); void set(bool value); };
public bool Tombstone { get; set; }
[System.DirectoryServices.DSDescription("DSTombstone")]
[System.Runtime.InteropServices.ComVisible(false)]
public bool Tombstone { get; set; }
member this.Tombstone : bool with get, set
[<System.DirectoryServices.DSDescription("DSTombstone")>]
[<System.Runtime.InteropServices.ComVisible(false)>]
member this.Tombstone : bool with get, set
Public Property Tombstone As Boolean
Özellik Değeri
true silinen nesnelerin aramaya dahil edilmesi gerekiyorsa; false Aksi takdir -de. Varsayılan değer false değeridir.
- Öznitelikler
Örnekler
Aşağıdaki C# örneği özelliğinin Tombstonetrueolarak nasıl ayarlandığını gösterir.
using System.DirectoryServices;
...
// Create a DirectorySearcher object.
DirectorySearcher src = new DirectorySearcher("(isDeleted=true)");
//Set the Tombstone property to true.
src.Tombstone = true;
//Use the FindAll method to get search results.
SearchResultCollection res = src.FindAll();