CSMongo.Commands.MongoDatabaseCommands.KillCursors C# (CSharp) 메소드

KillCursors() 공개 정적인 메소드

Sends the request to kill existing cursors
public static KillCursors ( MongoDatabase database, IEnumerable cursors ) : void
database MongoDatabase
cursors IEnumerable
리턴 void
        public static void KillCursors(MongoDatabase database, IEnumerable<MongoCursor> cursors)
        {
            MongoDatabaseCommands.KillCursors(database, cursors.Where(item => item.Cursor > 0).Select(item => item.Cursor));
        }

Same methods

MongoDatabaseCommands::KillCursors ( MongoDatabase database, IEnumerable cursors ) : void