5.104 IsRecycleBinEnabled

 procedure IsRecycleBinEnabled(): boolean

Informative summary of behavior: The IsRecycledBinEnabled procedure returns true if the Recycle Bin optional feature is enabled. Otherwise, it returns false. For more details, see [MS-ADTS] sections 3.1.1.9, 3.1.1.9.1, and 6.1.1.2.1

 recycleBinFeatureGuid: GUID
 scope: DSNAME
 recycleBinFeatureGuid := {766ddcd8-acd0-445e-f3b9-a7f9b6744f2a} 
 scope := DSName of the nTDSDSA object
 return IsOptionalFeatureEnabled (scope, recycleBinFeatureGuid)
Show: