Exemple #1
0
 /// <summary>
 /// Garbages the collect stable versions.
 /// </summary>
 /// <param name="path">The path.</param>
 /// <param name="mode">The mode.</param>
 /// <param name="garbageCollectionStats">The garbage collection stats.</param>
 /// <returns>System.Int32.</returns>
 public int GarbageCollectStableVersions([In, MarshalAs(UnmanagedType.BStr)] string path, [In, MarshalAs(UnmanagedType.U4)] GarbageCollectionMode mode, [In, MarshalAs(UnmanagedType.Struct), Out] ref GARBAGECOLLECTION_STATS garbageCollectionStats)
 {
     garbageCollectionStats.StableVersionsAlreadyDeleted = 0;
     return(0);
 }
 /// <summary>
 /// Garbages the collect stable versions.
 /// </summary>
 /// <param name="path">The path.</param>
 /// <param name="mode">The mode.</param>
 /// <param name="garbageCollectionStats">The garbage collection stats.</param>
 /// <returns>System.Int32.</returns>
 public int GarbageCollectStableVersions([In, MarshalAs(UnmanagedType.BStr)] string path, [In, MarshalAs(UnmanagedType.U4)] GarbageCollectionMode mode, [In, MarshalAs(UnmanagedType.Struct), Out] ref GARBAGECOLLECTION_STATS garbageCollectionStats)
 {
     return(m_managementObject.GarbageCollectStableVersions(path, mode, ref garbageCollectionStats));
 }